Chapter 8. Advanced Solr – Grouping, the MoreLikeThis Query, and Distributed Search
In this chapter we will look at some of the advanced concepts of Solr. We will look at grouping results based on certain criteria. We will also look at finding results similar to a particular document based on some terms within the document. We will explore distributed search that can be used to horizontally scale the Solr search infrastructure. Topics that will be covered in this chapter are
Grouping results by field
Grouping results by query
Running morelikethis query using PHP
Tuning parameters of morelikethis query
Distributed search
Setting up distributed search
Executing distributed search using PHP
Setting up Solr master-slave
Load balancing Solr queries using PHP