Chapter 4. Make Your Search Better
In the previous chapter, we learned how to extend our index with additional information and how to handle highlighting and indexing data that is not flat. We also implemented an autocomplete mechanism using ElasticSearch, indexed files, and geographical information. However, by the end of this chapter, you will have learned the following:
Why your document was matched
How to influence document score
How to use synonyms
How to handle multilingual data
How to use term position aware queries (span queries)