Hi,
I have an index with a date field with dd/mm/yyyy format and I would like to search the documents of a specific day but maybe the format could not be the same as the index. How can I pass the format for parse the date?
Thanks
Hi,
I have an index with a date field with dd/mm/yyyy format and I would like to search the documents of a specific day but maybe the format could not be the same as the index. How can I pass the format for parse the date?
Thanks
That's a problem to solve at index time as you want to have a field which mapping is date
not text
.
Then it's not anymore a problem at query time.
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.