In this chapter, we learnt how Solr can be used for geospatial search. We understood the features provided by the Solr 4 spatial module and saw how indexing and search can be executed with Solr. We discussed different types of geofilters available with Solr and performed sorting and boosting using distance as the relevancy score. We also saw some advanced concepts of geospatial operations such as quadtrees and geohash.
In the next chapter, we will learn about the problems that we normally face during the implementation of Solr in an advertising system. We will also discuss how to debug such a problem along with tweaks to further optimize the instance(s).