Chapter 6. Make Your Search Better

In the previous chapter, we were focused on indexing operations; we learned how to handle the structured data. We started with indexing tree-like structures and JSON objects. We used nested objects and indexed documents using parent-child functionality. Finally, at the end of the chapter, we used Elasticsearch API to modify our indices structures. By the end of this chapter, you will have learned the following topics:

  • Understanding how Apache Lucene scoring works
  • Using scripting
  • Handling multilingual data
  • Using boosting to affect document scoring
  • Using synonyms
  • Understanding how your documents were scored

Introduction to Apache Lucene scoring

When talking about queries and their relevance, we can't omit the information ...

Get Elasticsearch Server - Third Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.