lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <>
Subject [Solr Wiki] Update of "FilterQueryGuidance" by MichaelLudwig
Date Wed, 17 Jun 2009 14:01:35 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by MichaelLudwig:

The comment on the change is:
added note about facet.query -

  and relatively limited in its valuespace
  looks like a candidate for the filter query (`fq`).
+ How does the `facet.query` parameter fit in with `q` and `fq` parameters?
+ It is also some kind of query, isn't it?
+ That's true; but as the name suggests, it is for [:SolrFacetingOverview: faceting], not
for filtering.
+ A `facet.query` is just a more flexible means of defining a filter than possible using a
mere `facet.field`.
+ While the `q` and `fq` affect the `results` portion of a search response,
+ the `facet.query` only affects the `facets` portion of a response.
+ The `facet.query` is only used where you want a facet summary of your query
+ based on some kind of complex expression
+ rather than the terms within a single field, as with `facet.field`.
+ It is not used for filtering the result set,
+ but to obtain faceting data in addition to result set.
  == Configuring the `filterCache` ==
  If I know that only 100 filters are possible,

View raw message