Filters¶
Adding a filter
clause to the bool
query¶
GET /recipe/_search
{
"query": {
"bool": {
"must": [
{
"match": {
"title": "pasta"
}
}
],
"filter": [
{
"range": {
"preparation_time_minutes": {
"lte": 15
}
}
}
]
}
}
}