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)
Why this document was found
Compared to databases, using systems capable of performing full-text search can often be anything other than obvious. We can search in many fields simultaneously and the data in the index ...
Get ElasticSearch Server now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.