Closed spondiirty closed 2 years ago
I was making some queries on my index like
GET /{my-index}/_search { "from": 0, "size": 25, "sort": [ { "_script": { "type": "number", "script": { "lang": "painless", "source": "long reviews = doc['review'].value; return reviews;" }, "order": "desc" } } ], "query": { "bool": { "filter": [ { "term": { ....
when I execute the query , it automatically correct to
... "sort": [ { "_script": { "order": "desc" } } ], ...
tried same query on Kibana and ES Head , it works no problem.
Thanks for reporting the issue. It is fixed in 1.7.1.
I was making some queries on my index like
when I execute the query , it automatically correct to
tried same query on Kibana and ES Head , it works no problem.