I upgraded Elasticsearch
version 5.4
to 7.1
. I have a query work on 5.4
version, but the same query on 7.1
throws an exception.
query malformed, empty clause found
Query :
{
"query": {"match_all": {}}
,"aggs": {
"price": {
"aggs": {
"tt": {
"terms": {
"field": "platformType"
}
}
},
"filter": {
}
}
}
}
The filter is empty because I use condition less term query. Is there any solution?
Thank you in advance.