mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
add a filter to the frequent items agg that filters documents from the analysis while still calculating support on the full set A filter is specified top-level in frequent_items: "frequent_items": { "filter": { "term": { "host.name.keyword": "i-12345" } }, ... The above filters documents that don't match, however still counts the docs when calculating support. That's in contrast to specifying a query at the top, in which case you find the same item sets, but don't know the importance given the full document set. |
||
---|---|---|
.. | ||
bucket | ||
metrics | ||
pipeline | ||
bucket.asciidoc | ||
metrics.asciidoc | ||
pipeline.asciidoc |