Bulk API - Insert without "_id"

Hi, I've upgraded ES from version 2.
Current ES -
version: 5.6.1
lucene version: 6.61

While i'm trying to do a BULK insert using Bulk API, it is throwing an error "_id" is required when version or value is set.

Is there a way to use Bulk API without providing _id for every doc and let ES to generate a random _id ?

Not if you are using a version, because it is expecting there may be a need to update an existing document, and it needs to be able to find it with the _id.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.