Build an Elasticsearch Query DSL request with filters, search, sorting, and aggregations.
Selected clauses are assembled into a JSON Query DSL object; boolean intent determines whether clauses go under must, filter, should, or must_not. The output is a request body and does not query a cluster.
Query type: match Index: products Field: title Value: wireless headphones Size: 10
{
"query": {
"match": {
"title": "wireless headphones"
}
},
"from": 0,
"size": 10
}
Product search, log dashboards, and reporting jobs build Query DSL bodies.