"path" : "doc_rev_id"
>}
>}
> }
> {
>"type" : "couchdb",
>"couchdb" : {
>"script" : "ctx.doc.doc_rev_id = ctx.doc._id + '_' + ctx.doc._rev"
>}
> }
>
>
>
&g
t;couchdoc" : {
"_id" : {
"path" : "doc_rev_id"
}
}
}
{
"type" : "couchdb",
"couchdb" : {
"script" : "ctx.doc.doc_rev_id = ctx.doc._id + '_' + ctx.doc._rev"
}
}
--
ed 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.
>
> {
>
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 d