I have a strange issue when changing the aggregation size and doc_counts returned. It's a straight-forward wildcard query using query_string with some filters applied, and one aggregation. Setting the size to 10, I have a key in the bucket with a doc_count of 4. If I only change the size of the aggregation from 10 to 20, the doc_count for the same key changes to 6. Any idea what the issue might be? I'm using Elasticsearch version: 5.3.1 set up as a 3-node cluster.
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.