You can should

local params ...

http://wiki.apache.org/solr/LocalParams



-----Mensaje original----- From: Petrov Sergey
Sent: Wednesday, November 24, 2010 12:57 PM
To: solr-user@lucene.apache.org
Subject: How to get facet counts without fields that are constrained by themselves?

I need to retrieve result of query and facet counts for all searchable document fields. I can't get correct results in case when facets counts are calculated for field that is in search query. Facet counts are calculated to match the whole query, but for this field I need to get values, that are constrained by all query params except of query on current field (so facet values must to be constrained by all query values except of current field itself). Variant with performing one full query plus as many queries, as is the count of search fields, gives me what I need, but I think that there must be a better way to solve this problem. P.S. Sorry for my English.

Reply via email to