# Net Sample Code for Bulk Load

**URL:** <https://discuss.elastic.co/t/net-sample-code-for-bulk-load/18000>\
**Category:** Elasticsearch\
**Created:** [June 9, 2014, 8:41pm UTC](https://discuss.elastic.co/t/net-sample-code-for-bulk-load/18000 "2014-06-09T20:41:07Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Madhavan\_Ramachandra](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@Madhavan\_Ramachandra](https://discuss.elastic.co/u/Madhavan_Ramachandra)\
**Post date:** [June 9, 2014, 8:41pm UTC](https://discuss.elastic.co/t/net-sample-code-for-bulk-load/18000/1 "2014-06-09T20:41:07Z")

</div>

Hi All,

I am new to Elastic Search. Going through the site and looking for solution  
to implement in .Net. Found that NEST dlls provides capabilities to  
interact with ES.

Need help on bulk load data from SQL Server to elastic search for indexing  
the documents. Looking for the .net solution to implement this. more  
precisely, converting the .net dataset to JSON objects for the elastic  
search to index. What are the optimal way to achive this..how do we  
optimize SQL code or do we need to handle the try on failure mechanism  
while indexing ?

How does the indexing/re-indexing work in case of any update on the  
existing indexed data in ES?

Regards  
Madhavan.TR

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/8755f7ef-517c-4d06-bec8-a2e01f3fc6ab%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/8755f7ef-517c-4d06-bec8-a2e01f3fc6ab%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 1:23am UTC](https://discuss.elastic.co/t/net-sample-code-for-bulk-load/18000/2 "2017-07-06T01:23:43Z")

</div>


