1.后续代码处理 2.如果你说的是上面的 country 和 category,可能的原因有一个,terms 聚合在下面这种情况会有误差 This means that if the number of unique terms is greater than size, the returned list is slightly off and not accurate (it could be that the term counts are slightly off and it could even be that a term that should have been in the top size buckets was not returned).