Aggregation for query facets?


(Dan Tuffery) #1

I’m currently changing all of my facet code to use the new aggregations in
ElasticSearch 1.0. What aggregation should be used in place of the
QueryFacet?

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/d420b91b-bb3b-4e68-ad98-6b99b6d3b5a4%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(Binh Ly-2) #2

You'll want the filter aggregation:

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-aggregations-bucket-filter-aggregation.html

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/b3c44c8e-45cd-4283-9228-051f650d186c%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


(system) #3