# Elasticsearch File Indexing tuning

**URL:** <https://discuss.elastic.co/t/elasticsearch-file-indexing-tuning/16815>\
**Category:** Elasticsearch\
**Created:** [April 4, 2014, 6:44am UTC](https://discuss.elastic.co/t/elasticsearch-file-indexing-tuning/16815 "2014-04-04T06:44:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ravikanth](https://avatars.discourse-cdn.com/v4/letter/r/ce7236/32.png) [@ravikanth](https://discuss.elastic.co/u/ravikanth)\
**Post date:** [April 4, 2014, 6:44am UTC](https://discuss.elastic.co/t/elasticsearch-file-indexing-tuning/16815/1 "2014-04-04T06:44:58Z")

</div>

Hi All,  
Iam new to elasticsearch and using elasticsearch-1.0.0.RC1.  
when iam indexing the bulk files(documents like txt,pdf etc) it  
taking more time.  
Apart from my application have one table with all files details  
with url also.  
loop the table data and get the content from the files with url by  
using curl and convert into base64\_encode and indexing.  
(by following exact steps from:  
[http://www.elasticsearch.cn/tutorials/2011/07/18/attachment-type-in-action.html](http://www.elasticsearch.cn/tutorials/2011/07/18/attachment-type-in-action.html))  
please any body provide the solution to decrease the bulk files  
indexing time.

--  
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/4b668549-cd62-439c-91b2-74c1a311fa8f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/4b668549-cd62-439c-91b2-74c1a311fa8f%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Binh\_Ly\_2](https://avatars.discourse-cdn.com/v4/letter/b/d07c76/32.png) [@Binh\_Ly\_2](https://discuss.elastic.co/u/Binh_Ly_2)\
**Post date:** [April 4, 2014, 8:29pm UTC](https://discuss.elastic.co/t/elasticsearch-file-indexing-tuning/16815/2 "2014-04-04T20:29:58Z")

</div>

If you have capacity, you could try creating a few shards first, and then  
index in parallel (i.e. from multiple threads).

--  
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/6c4d0825-6879-48d0-99f4-efa5460c102f%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/6c4d0825-6879-48d0-99f4-efa5460c102f%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:38am UTC](https://discuss.elastic.co/t/elasticsearch-file-indexing-tuning/16815/3 "2017-07-06T01:38:04Z")

</div>


