
What this book covers
Chapter 1, Installing and Integrating Solr and PHP, introduces Solr and installs and integrates Solr with PHP on both Windows and Linux environments.
Chapter 2, Inserting, Updating, and Deleting Documents from Solr, provides practical examples on how to use PHP to add, modify, and delete documents from the Solr index.
Chapter 3, Select Query on Solr and Query Modes (DisMax/eDisMax), explains how to run basic search queries on Solr and use different query modes to run some advanced search queries.
Chapter 4, Advanced Queries – Filter Queries and Faceting, digs deeper into search queries and provides practical examples for running filter queries and facets using Solr and PHP.
Chapter 5, Highlighting Results Using PHP and Solr, explains how Solr can be configured for highlighting search results and provides practical examples in PHP for highlighting.
Chapter 6, Debug and Stats Component, explains how Solr calculates relevance, ranks the results of a search query, and explains how index statistics can be obtained.
Chapter 7, Spell Check in Solr, configures Solr for spell check and provides practical example of an autocomplete feature built using PHP and Solr.
Chapter 8, Advanced Solr – Grouping, the MoreLikeThis Query, and Distributed Search, goes in depth on some of the advanced topics in Solr and also explains how Solr can be scaled horizontally.