# How to index millions of documents using c#?

**URL:** <https://discuss.elastic.co/t/how-to-index-millions-of-documents-using-c/18052>\
**Category:** Elasticsearch\
**Created:** [June 11, 2014, 7:57pm UTC](https://discuss.elastic.co/t/how-to-index-millions-of-documents-using-c/18052 "2014-06-11T19:57:45Z")\
**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 11, 2014, 7:57pm UTC](https://discuss.elastic.co/t/how-to-index-millions-of-documents-using-c/18052/1 "2014-06-11T19:57:45Z")

</div>

Hi All,

I am looking for a easy way to index millions of document thro my c#  
console application. The data have been from SQL Server. I know that River  
is going to be soon deprecated. What is the best way to achieve this?

Currently i am using Nest dll, for indexing the documents. I am looping  
thro each document to index it.

any pointers or help is appreciated.

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/4d9f6434-b5d0-4b85-9fa4-c600146cc636%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4d9f6434-b5d0-4b85-9fa4-c600146cc636%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/how-to-index-millions-of-documents-using-c/18052/2 "2017-07-06T01:23:11Z")

</div>


