Re: Shared facet filtration

2014-04-09 Thread Alex G
Fantastic, that's exactly what I was looking for, thankyou! On Wednesday, April 9, 2014 3:12:42 AM UTC+10, Ivan Brusic wrote: You should be able to use filtered queries instead, where the filter is your facet filter:

Re: Shared facet filtration

2014-04-08 Thread Ivan Brusic
You should be able to use filtered queries instead, where the filter is your facet filter: http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/query-dsl-filtered-query.html The filtered query will filter documents before the query. Facets work on the documents returned by the

Shared facet filtration

2014-04-07 Thread Alex G
Hello, I’m implementing a faceted interface that requires that all the facets be filtered by a shared filter - below is roughly how the queries currently look, is there a more efficient/performant way to make this kind of query? Less fussed about actual query verbosity but if there some way