# Batch Indexing

**URL:** https://discuss.elastic.co/t/batch-indexing/3005
**Category:** Elasticsearch
**Created:** [June 9, 2010, 9:30pm UTC](https://discuss.elastic.co/t/batch-indexing/3005 "2010-06-09T21:30:48Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [June 9, 2010, 9:30pm UTC](https://discuss.elastic.co/t/batch-indexing/3005/1 "2010-06-09T21:30:48Z")

</div>

What is the best approach for performing an initial bulk indexing with  
Elastic Search?

Thanks

---

<div class="post-metadata">

### Author: ![kimchy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kimchy/32/44952_2.png) [@kimchy](https://discuss.elastic.co/u/kimchy)
#### Post date: [June 10, 2010, 10:15am UTC](https://discuss.elastic.co/t/batch-indexing/3005/2 "2010-06-10T10:15:00Z")

</div>

The best thing is to fork several threads / clients and do the indexing. If  
you use the Java API, then its completely async.

-shay.banon

On Thu, Jun 10, 2010 at 12:30 AM, sd [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:

> What is the best approach for performing an initial bulk indexing with  
> Elastic Search?
> 
> Thanks

---

<div class="post-metadata">

### Author: ![Samuel\_Doyle](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@Samuel\_Doyle](https://discuss.elastic.co/u/Samuel_Doyle)
#### Post date: [June 10, 2010, 10:23am UTC](https://discuss.elastic.co/t/batch-indexing/3005/3 "2010-06-10T10:23:31Z")

</div>

Great, that is what I will be doing (using API).

On Thu, Jun 10, 2010 at 3:15 AM, Shay Banon [shay.banon@elasticsearch.com](mailto:shay.banon@elasticsearch.com)wrote:

> The best thing is to fork several threads / clients and do the indexing. If  
> you use the Java API, then its completely async.
> 
> -shay.banon
> 
> On Thu, Jun 10, 2010 at 12:30 AM, sd [samueldoyle@gmail.com](mailto:samueldoyle@gmail.com) wrote:
> 
> > What is the best approach for performing an initial bulk indexing with  
> > Elastic Search?
> > 
> > Thanks

---

<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, 4:23am UTC](https://discuss.elastic.co/t/batch-indexing/3005/4 "2017-07-06T04:23:26Z")

</div>


