- Combing leaf query clauses
- bool frequently used and is simple to use:
curl 'localhost:9200/ordering/orders/_search?pretty=true' -d '{
"query" : {
"bool" : {
"must" : {
"term" : { "id" : "1" }
},
"must": {
"query_string" : {
"query" : "trackingId:*"
}
}
}
}
}'