I'm using ES 0.90.7.
Is there a way to do _id mapped to a custom value which is based on more
than one field?
http://stackoverflow.com/questions/21041952/using-a-combined-field-as-id-mapping-in-elasticsearch
Like i want _id to combine srId and closeDt as our document key?
this one doesnt work.
{
"mappings": {
"json": {
"_id": {
"path": "srId.closeDt",
"properties": {
"srId": {
"index": "not_analyzed",
"type": "string"
},
"closeDt": {
"index": "not_analyzed",
"type": "long"
}
}
}
}
}
}'
--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Using-a-combined-field-as-id-mapping-in-ElasticSearch-tp4047728.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/1389901947442-4047728.post%40n3.nabble.com.
For more options, visit https://groups.google.com/groups/opt_out.