O'Reilly logo

Apache Solr 3 Enterprise Search Server by Eric Pugh, David Smiley

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Types of faceting

Solr's faceting is broken down into three types. They are as follows:

  • field values: This is the most common type of faceting which counts the number of occurrences of each indexed term in a field. The facet counts are grouped in the output under the name facet_fields.

    Note

    Solr 4 includes a new variation for field values called Pivot Faceting (that is Decision Tree). Essentially, it performs recursive faceting for a series of fields.

  • ranges: Given a numeric or date field, this creates facets for a set of ranges. The facet counts are grouped in the output under the name facet_ranges.

    Note

    Solr 3 deprecated "date faceting" with the introduction of the generic range faceting. I won't document it further.

  • queries: This is a very flexible ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required