hi
i want to use field which in json as _id value, but this
{
"your_mapping" : {
"_id" : {
"path" : "Record ID"
}
}
}
is deprecated , so how can i do this in elasticsearch 2.x
thanks
hi
i want to use field which in json as _id value, but this
{
"your_mapping" : {
"_id" : {
"path" : "Record ID"
}
}
}
is deprecated , so how can i do this in elasticsearch 2.x
thanks
You need to pass it in as the _id
when you index the document.
© 2020. All Rights Reserved - Elasticsearch
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.