Chapter 4. Extending Your Querying Knowledge
In the previous chapter, we dived into Elasticsearch querying capabilities. We discussed how to query Elasticsearch in detail and we learned how Elasticsearch querying works. We now know the basic and compound queries of this great search engine and what are the configuration options for each query type. We also got to know when to use our queries and we discussed a few use cases and which queries can be used to handle them. This chapter is dedicated to extending our querying knowledge. By the end of this chapter, you will have learned the following topics:
- What filtering is and how to use it
- What highlighting is and how to use it
- What are the highlighter types and what benefits they bring
- How to validate your queries
- How to sort your query results
- What query rewrite is and how to control it