I have created the below mapping, and my issue is with the "submissionTime"
field below. As you can see below, I have set the format to
"yyyy-MM-dd'T'HH:mm:ss", which matches both my incoming data and the format
described in the ES API docs. However, when I try and load this mapping, I
get the below error:
You are using single quotes for the entire JSON and for T. As a result, T
is sent without quotes. Try surrounding T with ''' like this:
"format" : "yyyy-MM-dd'''T'''HH:mm:ss"
On Monday, April 23, 2012 6:07:50 PM UTC-4, my3sons wrote:
Hello,
I have created the below mapping, and my issue is with the
"submissionTime" field below. As you can see below, I have set the format
to "yyyy-MM-dd'T'HH:mm:ss", which matches both my incoming data and the
format described in the ES API docs. However, when I try and load this
mapping, I get the below error:
On Monday, April 23, 2012 5:34:16 PM UTC-5, Igor Motov wrote:
You are using single quotes for the entire JSON and for T. As a result, T
is sent without quotes. Try surrounding T with ''' like this:
"format" : "yyyy-MM-dd'''T'''HH:mm:ss"
On Monday, April 23, 2012 6:07:50 PM UTC-4, my3sons wrote:
Hello,
I have created the below mapping, and my issue is with the
"submissionTime" field below. As you can see below, I have set the format
to "yyyy-MM-dd'T'HH:mm:ss", which matches both my incoming data and the
format described in the ES API docs. However, when I try and load this
mapping, I get the below error:
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.