Hi David, 

  I'm using fsriver plugin. Is there a way to specify a script to generate a
field like how couchDB river plugin is able to do. 

http://stackoverflow.com/questions/15421720/how-do-i-index-all-the-revisions-of-a-couchdb-doc-using-elasticsearch-river-plug

{
    "couchdoc" : {
        "_id" : {
            "path" : "doc_rev_id"
        }
    }
}
{
    "type" : "couchdb",
    "couchdb" : {
        "script" : "ctx.doc.doc_rev_id = ctx.doc._id + '_' + ctx.doc._rev"
    }
}



--
View this message in context: 
http://elasticsearch-users.115913.n3.nabble.com/Using-a-combined-field-as-id-mapping-in-ElasticSearch-tp4047728p4047738.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/1389912978917-4047738.post%40n3.nabble.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to