Summary

In this chapter:

  • We saw some more API methods and explored them. We created an application to search a properties database.
  • We created a simple Search form to perform a full-text search on properties and filter them by city. We used different field weights, so that results are sorted with closest matches at the top.
  • We also created an Advanced search form where we implemented a lot of filters.
  • We learned how to use ranged filters.
  • We created a search form for Geo Location Search. We saw how Sphinx makes it easy to find locations within the specified radius if the index contains geographical coordinates.

In the next chapter we will learn about the Sphinx configuration file and explore some advanced configuration options.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset