When indexing a document, when there is a field named "_id" in the source,
the fields that come after this one don't get added to the mapping, even
though they are stored in the _source:
The _id field is one of the few reserved field names in Elasticsearch:
You can set it to whatever you want, as long as it is not an object or
(empty) array, as in your case. I have no idea what the proper behavior
should be when you try to index bad data to this field, but I am not
surprised that there are issues.
--
Ivan
On Wed, Sep 3, 2014 at 3:12 AM, André Hänsel andre@webkr.de wrote:
When indexing a document, when there is a field named "_id" in the source,
the fields that come after this one don't get added to the mapping, even
though they are stored in the _source:
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.