Hi Folks,
I have a question about the Bulk API. In the description about the "create" operation, it reads [1]: "create will fail if a document with the same index and type exists already, whereas index will add or replace a document as necessary".
Should the above sentence instead read, "create will fail if a document with the same _id and type exists already, whereas index will add or replace a document as necessary"?
I originally saw this reading the 2.4 documentation, so filed a straw-man PR there, PR 241.
Thanks,
-peter
[1] https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html#docs-bulk
[2] https://github.com/elastic/docs/pull/241