O'Reilly logo
  • Mayur Jain thinks this is interesting:

GET /my_store/products/_search { "query" : { "filtered" : { 1 "query" : { "match_all"

From

Cover of Elasticsearch: The Definitive Guide

Note

GET /my_store/products/_search
{
"query" : {
"constant_score" : {
"filter" : {
"term" : {
"price" : 20
}
}
}
}
}