I have a few documents which contain relative dates such as:
2 Weeks Ago
3 Months Ago
I've been looking into formatting the date field as well as date math but was unable to find something which would specifically address this case.
Would it be possible to set ES to interpret the text and if, for example, x Months Ago is detected, extract the X, and use date math along another date field inside my document to subtract from it the number of months and create a new date to be stored ?
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.