Indexing Documents in batches


(Erik Carmona) #1

Hi There,

Is there a way to index various of documents in one request? for instance, if I would like to index a list of employees, where each employee will become one document;

Is there a way to POST into an index a JSON array?


(Arvind Rao) #2

Bulk API supports this for indexing, updating and deleting a batch of documents.

https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-bulk.html


(Erik Carmona) #3

Thank you @Arvind_Rao! I will try the bulk API


(system) #4

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