Solr and facet search

Yes, Simply add &facet=true&facet.field={fieldname} to your request Url.

Here is another tutorial:Faceting


Yes, you can facet any indexed field out of the box. However it might not give you the results you expect until you configure faceting fields according to your data types.

Faceting is enabled and used through the facet.* parameters, not fq. fq is used when the user selects a facet value.

Some good Solr tutorials:

  • http://lucene.apache.org/solr/tutorial.html
  • http://www.lucidimagination.com/Community/Hear-from-the-Experts/Podcasts-and-Videos/Solr-Tutorial

Tags:

Solr

Facet