Book Image

Apache Solr Enterprise Search Server - Third Edition

By : David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell
Book Image

Apache Solr Enterprise Search Server - Third Edition

By: David Smiley, Eric Pugh, Kranti Parisa, Matt Mitchell

Overview of this book

<p>Solr Apache is a widely popular open source enterprise search server that delivers powerful search and faceted navigation features—features that are elusive with databases. Solr supports complex search criteria, faceting, result highlighting, query-completion, query spell-checking, relevancy tuning, geospatial searches, and much more.</p> <p>This book is a comprehensive resource for just about everything Solr has to offer, and it will take you from first exposure to development and deployment in no time. Even if you wish to use Solr 5, you should find the information to be just as applicable due to Solr's high regard for backward compatibility. The book includes some useful information specific to Solr 5.</p>
Table of Contents (19 chapters)
Apache Solr Enterprise Search Server Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Types of faceting


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

  • field: 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.

  • range: 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. We won't document it further.

  • query: This is a very flexible type of faceting which counts the number of documents matching each specified query. The facet counts are grouped in the output under facet_queries.

  • pivot: Also known as decision tree faceting, this type of faceting allows recursive faceting across a set of fields. Results are grouped under facet_pivot.

  • interval: A Solr 4.10-only feature, an interval facet is similar to a query facet with range queries. While the same results...