Hi .
i want store data in elastic search with regardless empty data in some fields.
if a filed be empty don't store this filed.
can you help me ?
Hi .
i want store data in elastic search with regardless empty data in some fields.
if a filed be empty don't store this filed.
can you help me ?
If the field is empty it won't be indexed.
But it will remain as part of the source document as elasticsearch does not touch the JSON you are sending.
You should just control that in your application, that'd be much better.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.