I would like to declare a field to null not with null_value.
Are "" and null equivalent? If I do not write anything to field, will ES set set the null automatically?
Is empty string stored in doc?
I would like to declare a field to null not with null_value.
Are "" and null equivalent? If I do not write anything to field, will ES set set the null automatically?
Is empty string stored in doc?
If I do not write anything to field, will ES set set the null automatically?
Yes. And that's the best approach.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.