I am having a problem defining a template to match up against data I would
like to index. I have removed extraneous fields from the template and
summarized the template and given a sample curl invocation and the error
message I am getting in the following gist:
and the following error when trying to index a test document:
{"error":"MapperParsingException[mapping [date]]; nested:
MapperParsingException[Trying to parse an object but has a different type
[date] for [date]]; ","status":400}
I would very much appreciate very much any pointers as to what I have done
wrong that could be triggering this error. This has been driving me crazy
for several hours now.
I tried to reproduce your problem, but didnt get an error on indexing (is
it possible that the file you specified using curl -T is still an old
version, I tried your curl call without using -T and it worked with the
data you supplied).
I am having a problem defining a template to match up against data I would
like to index. I have removed extraneous fields from the template and
summarized the template and given a sample curl invocation and the error
message I am getting in the following gist:
and the following error when trying to index a test document:
{"error":"MapperParsingException[mapping [date]]; nested:
MapperParsingException[Trying to parse an object but has a different type
[date] for [date]]; ","status":400}
I would very much appreciate very much any pointers as to what I have done
wrong that could be triggering this error. This has been driving me crazy
for several hours now.
Hello. I am not sure what the problem is, whether it is valid or not, but I
have ended up writing a script that handles document template creation
based on index path and that is working fine. Thanks for looking into it!
On Tuesday, October 1, 2013 12:49:52 AM UTC-7, Alexander Reelsen wrote:
Hey,
I tried to reproduce your problem, but didnt get an error on indexing (is
it possible that the file you specified using curl -T is still an old
version, I tried your curl call without using -T and it worked with the
data you supplied).
--Alex
On Thu, Sep 26, 2013 at 7:56 PM, Ian Marsman <ian.m...@gmail.com<javascript:>
wrote:
I am having a problem defining a template to match up against data I
would like to index. I have removed extraneous fields from the template and
summarized the template and given a sample curl invocation and the error
message I am getting in the following gist:
and the following error when trying to index a test document:
{"error":"MapperParsingException[mapping [date]]; nested:
MapperParsingException[Trying to parse an object but has a different type
[date] for [date]]; ","status":400}
I would very much appreciate very much any pointers as to what I have
done wrong that could be triggering this error. This has been driving me
crazy for several hours now.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
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.