`id` should be optional for bulk create requests in case you want the document ID to be automatically generated. https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-api-request-body
idshould be optional for bulk create requests in case you want the document ID to be automatically generated. https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html#bulk-api-request-body