Hi,
Currently the Date field is stored as long. How should I write free text elastic search query for finding the date.
in search text: 09/04/2018
data in elastic search: date: 1536041715846
Hi,
Currently the Date field is stored as long. How should I write free text elastic search query for finding the date.
in search text: 09/04/2018
data in elastic search: date: 1536041715846
Currently the Date field is stored as long
Do you mean that the mapping is a long for that field?
If so, change the type for that field to be a date
instead.
Thankyou
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.