- Leaf and Compound components of the search Dsl can be used in query and in filter context
- So far we have been using Dsl in the search context
- Filtering context is a 'non-scoring' or 'filtering' query - yes/no answer, no score is computed
- Typical use of query is to find a best matching document, similar to Google Search
- Scoring calculates how relevant each document is, relative to the search criteria
- Filtering is used to exclude documents from the search results without computing their score