Re: Facet field query on subset of documents

2013-12-20 Thread Toby Lazar
Luis (or anyone else), Did you ever find a solution for this problem? If not, is querying twice the way to go? I'm looking to do the same with no luck yet. Thanks, Toby *** Toby Lazar Capital Technology Group Email: tla...@capitaltg.com Mobile:

Re: Facet field query on subset of documents

2013-11-21 Thread Luis Lebolo
Hi Erick, Thanks for the reply and sorry, my fault, wasn't clear enough. I was wondering if there was a way to remove terms that would always be zero (because the term came from a document that didn't match the filter query). Here's an example. I have a bunch of documents with fields

Re: Facet field query on subset of documents

2013-11-21 Thread Erick Erickson
That's what faceting does. The facets are only tabulated for documents that satisfy they query, including all of the filter queries and anh other criteria. Otherwise, facet counts would be the same no matter what the query was. Or I'm completely misunderstanding your question... Best, Erick

Facet field query on subset of documents

2013-11-21 Thread Luis Lebolo
Hi All, Is it possible to perform a facet field query on a subset of documents (the subset being defined via a filter query for instance)? I understand that facet pivoting might work, but it would require that the subset be defined by some field hierarchy, e.g. manufacturer - price (then only