In creating a _mapping, I am using the || operator to allow for indexing multiple formats in a date field. I am following procedures described here in the guide. My problem: The order in which I list the formats matters. For example...
I do see in the documentation that the first format listed has a different functionality. It says, "The first format will also act as the one that converts back from milliseconds to a string representation." But I don't see why this would cause the behavior described above.
On Friday, May 27, 2011 at 11:29 PM, searchersteve wrote:
In creating a _mapping, I am using the || operator to allow for indexing
multiple formats in a date field. I am following procedures described Elasticsearch Platform — Find real-time answers at scale | Elastic here
in the guide. My problem: If I allow for too many formats, parsing fails.
For example...
It makes sense that at some point, a parser will get confused if you throw
too many allowed formats at it. You end up with potential ambiguity that the
parser cannot resolve. But I can't see the ambiguity in this case.
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.