I'm trying to give my indexed documents a custom id. So far no luck. This is a sample from my dataset:
_DESCRIPTIONS_ | _VALUES_
ID | WAUX87
Model | Avensis
Each document has an ID in its data and I want the corresponding value (in this case WAUX87) being used as the _id in Elasticsearch. I'm trying to do that in my mapping:
This mapping above will give me an error: _id is not configurable
I've Googled and tried searching in the official docs but I can't figure out how to do this. Any ideas?
With the dataset I have I don't know how to work with the document_id (therfore the questionmark)
_DESCRIPTIONS_ | _VALUES_
Id | WAUX87
Model | Avensis
I want Logstash to look at the row featuring 'Id' and use the corresponding value in the next column as a custom id which is in this case 'WAUX87'. I hope it's possible or else I'll look for other ways.
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.