# Creating index from the database tables using java api

**URL:** <https://discuss.elastic.co/t/creating-index-from-the-database-tables-using-java-api/3670>\
**Category:** Elasticsearch\
**Created:** [December 16, 2010, 5:35am UTC](https://discuss.elastic.co/t/creating-index-from-the-database-tables-using-java-api/3670 "2010-12-16T05:35:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cheepu](https://avatars.discourse-cdn.com/v4/letter/c/e9a140/32.png) [@cheepu](https://discuss.elastic.co/u/cheepu)\
**Post date:** [December 16, 2010, 5:35am UTC](https://discuss.elastic.co/t/creating-index-from-the-database-tables-using-java-api/3670/1 "2010-12-16T05:35:48Z")

</div>

Hi  
I am new to ES using 0.13.0 version  
I have to create the index for a table of the database. I could not find how to do that.  
Please any one guide me to start indexing the database.

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:** [December 16, 2010, 7:16pm UTC](https://discuss.elastic.co/t/creating-index-from-the-database-tables-using-java-api/3670/2 "2010-12-16T19:16:42Z")

</div>

Create an index in ES, read data from the database, convert it to docs  
(json) and index it.

On Thu, Dec 16, 2010 at 7:35 AM, cheepu [cheeputech@gmail.com](mailto:cheeputech@gmail.com) wrote:

> Hi  
> I am new to ES using 0.13.0 version  
> I have to create the index for a table of the database. I could not find  
> how  
> to do that.  
> Please any one guide me to start indexing the database.
> 
> Thanks
> 
> --  
> View this message in context:  
> [http://elasticsearch-users.115913.n3.nabble.com/creating-index-from-the-database-tables-using-java-api-tp2096740p2096740.html](http://elasticsearch-users.115913.n3.nabble.com/creating-index-from-the-database-tables-using-java-api-tp2096740p2096740.html)  
> Sent from the Elasticsearch Users mailing list archive at [Nabble.com](http://Nabble.com).

---

<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:15am UTC](https://discuss.elastic.co/t/creating-index-from-the-database-tables-using-java-api/3670/3 "2017-07-06T04:15:13Z")

</div>


