I use elasticsearch head plugin to search, as this:
{ "query": { "filtered": { "filter": { "script": { "script": "doc["indexTime"].value < param1", "params" : { "param1" : 80 } } }, "query": { "match_all": {} } } } }
It doesn't work, returns all the data in the index, doesn't filter the result, what's wrong? tks!
Please format your code using </> icon as explained in this guide. It will make your post more readable.
</>
Or use markdown style like:
``` CODE ```
May be you used GET verb. IIRC it was not working but POST was.
BTW you should use Kibana console.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.