how to find the date range in uri request search in elasticsearch -
i have search in need find delta of data http://localhost:9200/index/index_type/_search?q=sampledate[21-02-2015 22-02-2015]
but search giving me error help?
you can use below query:
get /index_name/index_type/_search?q=datecreated:[2016-01-06+to+2016-01-07]
this work if datecreated
date
field. won't work string
Comments
Post a Comment