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

Field requirements


The principal requirement of a field that will be faceted on is that it must be indexed; it does not have to be stored. And for text fields, tokenization is usually undesirable. For example, if the value Non-Album Track was tokenized, faceting on a field with that value would show tallies for Non-Album and Track separately. On the other hand, tag-clouds, some approaches to hierarchical faceting, and term-suggest are faceting use cases that handle tokenization just fine. Keep in mind that with faceting, the facet values returned in search results are the actual indexed terms, and not the stored value, which isn't used.

Note

If you have conflicting indexing needs for a field, which is common, you will find it necessary to have a copy of a field just for faceting.