In setting of index:
"queries": {
"cache": {
"enabled": "true"
}
},
GET products/_search
{
"query": {
"bool" : {
"must": [
{
"match": {
"product_flat.name": "amet"
}
}
]
,"filter" : [
{
"nested": {
"path": "categories",
"query": {
"bool": {
"must": [
{ "term": { "categories.id": 5 }}
]
}
}
}
}
]
}
}
}
But when i check at [GET /_nodes/stats/indices/query_cache], query cache is always empty.
Can someone explain it to me?