Files
elasticsearch-js/docs/reference/api/AggregationsMultiTermsAggregation.md
2025-05-27 15:30:21 -05:00

1.2 KiB

Interface AggregationsMultiTermsAggregation

Name Type Description
collect_mode AggregationsTermsAggregationCollectMode Specifies the strategy for data collection.
min_doc_count long The minimum number of documents in a bucket for it to be returned.
order AggregationsAggregateOrder Specifies the sort order of the buckets. Defaults to sorting by descending document count.
shard_min_doc_count long The minimum number of documents in a bucket on each shard for it to be returned.
shard_size integer The number of candidate terms produced by each shard. By default, shard_size will be automatically estimated based on the number of shards and the size parameter.
show_term_doc_count_error boolean Calculates the doc count error on per term basis.
size integer The number of term buckets should be returned out of the overall terms list.
terms AggregationsMultiTermLookup[] The field from which to generate sets of terms.