I would like to index the _id field for one of my document types in
the index. Reading through the elasticsearch documentation (http:// www.elasticsearch.org/guide/reference/mapping/id-field.html) it was
recommended to not do this. Could someone please explain any of the
ramifications if I do enable indexing of the _id field? It would be
greatly appreciated!
It just means it will add the overhead of indexing an additional fields.
its not that its not recommended, but, usually, you can do without it (i.e.
using things like ids filter and hte like).
I would like to index the _id field for one of my document types in
the index. Reading through the elasticsearch documentation (http:// Elasticsearch Platform — Find real-time answers at scale | Elastic) it was
recommended to not do this. Could someone please explain any of the
ramifications if I do enable indexing of the _id field? It would be
greatly appreciated!
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.