Document counts are approximateedit
As described above, the document counts (and the results of any sub aggregations) in the terms aggregation are not always accurate. This is because each shard provides its own view of what the ordered list of terms should be and these are combined to give a final view. Consider the following scenario:
2 个回复
medcl - 今晚打老虎。
赞同来自:
ghnjk
赞同来自:
6.2后好像出了一个 Composite aggregation获取所有term的可能(没有具体用过)。
原因: