# How to index multiple database query data to a single index file in Elastic search

**URL:** <https://discuss.elastic.co/t/how-to-index-multiple-database-query-data-to-a-single-index-file-in-elastic-search/22266>\
**Category:** Elasticsearch\
**Created:** [February 19, 2015, 1:45pm UTC](https://discuss.elastic.co/t/how-to-index-multiple-database-query-data-to-a-single-index-file-in-elastic-search/22266 "2015-02-19T13:45:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gurunath\_pai](https://avatars.discourse-cdn.com/v4/letter/g/958977/32.png) [@Gurunath\_pai](https://discuss.elastic.co/u/Gurunath_pai)\
**Post date:** [February 19, 2015, 1:45pm UTC](https://discuss.elastic.co/t/how-to-index-multiple-database-query-data-to-a-single-index-file-in-elastic-search/22266/1 "2015-02-19T13:45:53Z")

</div>

Hi,

Want to index multiple database data to Elastic search, I have done the  
same in Solr using DataImportHandler and DeltaImportHandler. Is there any  
way to achieve the same in Elastic Search, also want to index all these  
multiple query output all at once. I have observed that we cant index  
multiple queries here in Elastic Search.

Thanks  
Guru Pai.

--  
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/7f4d61ef-2116-4991-b93f-546898ff2462%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/7f4d61ef-2116-4991-b93f-546898ff2462%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![imad](https://avatars.discourse-cdn.com/v4/letter/i/f08c70/32.png) [@imad](https://discuss.elastic.co/u/imad)\
**Post date:** [August 20, 2015, 8:18pm UTC](https://discuss.elastic.co/t/how-to-index-multiple-database-query-data-to-a-single-index-file-in-elastic-search/22266/2 "2015-08-20T20:18:41Z")

</div>

Hi Pai,

I am trying to achieve something similar. Would appreciate if you can share your solution.

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 5, 2017, 11:54pm UTC](https://discuss.elastic.co/t/how-to-index-multiple-database-query-data-to-a-single-index-file-in-elastic-search/22266/3 "2017-07-05T23:54:50Z")

</div>


