Chapter 6. Text analysis
This chapter covers
- Testing with Solr’s Analysis form
- Defining custom field types for advanced text analysis
- Extending text analysis with Solr’s Plug-In framework
In chapter 5, we learned how the Solr indexing process works and learned to define nontext fields in schema.xml. In this chapter, we get deeper into the indexing process by learning about text analysis.
Text analysis removes the linguistic variations between terms in the index and terms provided by users when searching, so that a user’s query for buying a new house can match a document titled purchasing a new home. In this chapter you’ll learn how to configure Solr to establish a match between queries containing house and documents containing home. ...