Is it possible to do a Terms aggregation in Elasticsearch, but restricted
to the top N matching documents?
I'm aware of the top_hits aggregator, but it does not allow sub
aggregations.
So while I can get the top N matches per term, I can't find a way to get
the terms of the top N matches.
On Wednesday, December 10, 2014 4:59:19 PM UTC, Chris H wrote:
Hi,
Is it possible to do a Terms aggregation in Elasticsearch, but restricted
to the top N matching documents?
I'm aware of the top_hits aggregator, but it does not allow sub
aggregations.
So while I can get the top N matches per term, I can't find a way to get
the terms of the top N matches.
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.