I'm using execution_hint: map in my aggregation to ensure my aggs run in fast speed. However, I have a key which is "". But the aggregation result doesn't contain that bucket. I'm using terms aggregation. Do it automatically filtered by es? Anyone have encountered this problem?
Thank you for your reply. "" here is an empty string. The field value is an empty string. I have tried the missing value filter. It seems that it will only get the doc without the field when aggregation, not include the doc with the value"", which is an empty string.
Besides, when i using execution_hint: global_ordinals. The empty value "" is kept as a bucket. But once using map as execution_hit, the "" empty value is filtered? Why? Beacuse map is aggregating using the raw value of the field?
In my application, only using map as execution_hint can satisfied the speed requirements. So I have to using that.
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.