What is the recommended process for bulk inserts?

In SQL Server, we can define a Table Valued Parameter (TVP) that would contain the same structure as a DataTable in .Net.

On the application layer, we can populate a DataTable with thousands of records, then send that table as a single parameter to a SQL Server stored procedure for a bulk insert.

What would an equivalent strategy be with ElasticSearch?

Build a file with all the docs (in this format - https://www.elastic.co/guide/en/elasticsearch/reference/5.1/docs-bulk.html) and then send it to ES.

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