Query DSL is a JSON-based search language for querying specific and analytical datasets. Basically, a query can be classified in two contexts—a query context and a filter context. In the filter context, the search results are based on the question relating to the match or lack of match to the query clause, where the no scoring value, _score, is provided in the results. In the context of the query, the search results are based on measuring the appropriateness of the match on the query clause. We will introduce a number of common query subtypes in the following subsection.
Query DSL
Full text queries
This type of query will use analyzers (or given search analyzers) to tokenize the query string first. Then, it uses the...