Summary

We have covered lots of important topics in this chapter. We first started with how to work with different type of multimatch queries under different scenarios, then we started to learn about custom scoring in Elasticsearch using the function score, and also learned about query rescoring for recalculating the score on a defined number of documents returned by the query. We finally discussed one of the most important modules of Elasticsearch, that is scripting, and learned how to work with the new default scripting language: Painless.

In the next chapter, we will see different approaches to the data modeling in Elasticsearch and will learn how to handle relationships among documents using parent-child and nested data types, along with focusing ...

Get Mastering Elasticsearch 5.x - Third Edition 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.