up vote
0
down vote
favorite
I'm trying to use the bulk inset api for elastic search. I would like to insert documents with auto generated IDs but I'm just getting errors no matter what i try. Here are a few example efforts: http://localhost:9200/_bulk {"create": {"_index": "test", "_type": "_doc"} } {"user": "kimchy", "post_date": "2002-11-15T14:12:12", "message": "trying out Elasticsearch"} Both put and post give the error: { "error": { "root_cause": [ { "type": "action_request_validation_exception", "reason": "Validation Failed: 1: an id must be provided if version type or value are set;" } ], ...