What is the recommended process for bulk inserts?


#1

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?


(Mark Walkom) #2

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.


(system) #3

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