# Bulk indexing with Java API?

**URL:** https://discuss.elastic.co/t/bulk-indexing-with-java-api/3398
**Category:** Elasticsearch
**Created:** [October 1, 2010, 5:54pm UTC](https://discuss.elastic.co/t/bulk-indexing-with-java-api/3398 "2010-10-01T17:54:04Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Jake](https://avatars.discourse-cdn.com/v4/letter/j/f475e1/32.png) [@Jake](https://discuss.elastic.co/u/Jake)
#### Post date: [October 1, 2010, 5:54pm UTC](https://discuss.elastic.co/t/bulk-indexing-with-java-api/3398/1 "2010-10-01T17:54:04Z")

</div>

Does anyone have any sample code to show me how to do bulk indexing from the Java API?

[jake]

---

<div class="post-metadata">

### Author: ![cnotin](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cnotin](https://discuss.elastic.co/u/cnotin)
#### Post date: [June 15, 2011, 9:54am UTC](https://discuss.elastic.co/t/bulk-indexing-with-java-api/3398/2 "2011-06-15T09:54:18Z")

</div>

Hello,

I have an example but I'm not very satisfied about it. You can give a look at : [http://elasticsearch-users.115913.n3.nabble.com/Java-Bulk-indexing-API-performances-td3066505.html](http://elasticsearch-users.115913.n3.nabble.com/Java-Bulk-indexing-API-performances-td3066505.html)

---

<div class="post-metadata">

### Author: ![cnotin](https://avatars.discourse-cdn.com/v4/letter/c/aca169/32.png) [@cnotin](https://discuss.elastic.co/u/cnotin)
#### Post date: [June 15, 2011, 9:55am UTC](https://discuss.elastic.co/t/bulk-indexing-with-java-api/3398/3 "2011-06-15T09:55:36Z")

</div>

And some more informations here :  
[http://elasticsearch-users.115913.n3.nabble.com/Java-Bulk-API-amp-creating-index-td2571056.html](http://elasticsearch-users.115913.n3.nabble.com/Java-Bulk-API-amp-creating-index-td2571056.html)

---

<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:03am UTC](https://discuss.elastic.co/t/bulk-indexing-with-java-api/3398/4 "2017-07-06T04:03:33Z")

</div>


