# Search in Multiple Index

**URL:** <https://discuss.elastic.co/t/search-in-multiple-index/17474>\
**Category:** Elasticsearch\
**Created:** [May 13, 2014, 8:52am UTC](https://discuss.elastic.co/t/search-in-multiple-index/17474 "2014-05-13T08:52:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dharmendra\_pratap\_si](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dharmendra\_pratap\_si](https://discuss.elastic.co/u/dharmendra_pratap_si)\
**Post date:** [May 13, 2014, 8:52am UTC](https://discuss.elastic.co/t/search-in-multiple-index/17474/1 "2014-05-13T08:52:31Z")

</div>

Hi Team,  
Hope you all are doing good.

I stuck with a question that If I want to search for a perticular keywotd  
in many indexes (not from a specififc index), then what I need to do???

Looking for some quick suggessions.

Regards  
Dharmendra

--  
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/ed5f95d8-dd98-4445-8e43-d6b80e4e54b0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ed5f95d8-dd98-4445-8e43-d6b80e4e54b0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [May 13, 2014, 6:41pm UTC](https://discuss.elastic.co/t/search-in-multiple-index/17474/2 "2014-05-13T18:41:39Z")

</div>

The Search API allows you to search in multiple indexes at the same time:

> **[Elasticsearch Platform — Find real-time answers at scale](https://www.elastic.co)**
>
> Power insights and outcomes with the Elasticsearch Platform and AI. See into your data and find answers that matter with enterprise solutions designed to help you build, observe, and protect. Try Elasticsearch free today.

Cheers,

Ivan

On Tue, May 13, 2014 at 1:52 AM, dharmendra pratap singh \<  
[dharmendra0393@gmail.com](mailto:dharmendra0393@gmail.com)\> wrote:

> Hi Team,  
> Hope you all are doing good.
> 
> I stuck with a question that If I want to search for a perticular keywotd  
> in many indexes (not from a specififc index), then what I need to do???
> 
> Looking for some quick suggessions.
> 
> Regards  
> Dharmendra
> 
> --  
> 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/ed5f95d8-dd98-4445-8e43-d6b80e4e54b0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ed5f95d8-dd98-4445-8e43-d6b80e4e54b0%40googlegroups.com)[https://groups.google.com/d/msgid/elasticsearch/ed5f95d8-dd98-4445-8e43-d6b80e4e54b0%40googlegroups.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/ed5f95d8-dd98-4445-8e43-d6b80e4e54b0%40googlegroups.com?utm_medium=email&utm_source=footer)  
> .  
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CALY%3DcQCT4%3DHjFDnd%3D3\_%2Bqi\_vF7iNBmZtnQDCvScbxn10p2XRVw%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQCT4%3DHjFDnd%3D3_%2Bqi_vF7iNBmZtnQDCvScbxn10p2XRVw%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Arnaud\_Boniface](https://avatars.discourse-cdn.com/v4/letter/a/ba9def/32.png) [@Arnaud\_Boniface](https://discuss.elastic.co/u/Arnaud_Boniface)\
**Post date:** [May 13, 2014, 9:05pm UTC](https://discuss.elastic.co/t/search-in-multiple-index/17474/3 "2014-05-13T21:05:35Z")

</div>

Hello Ivan,

I thank you for your link. It confirms that we can search into several  
indices or types.

Do you think is it possible to make a query with criteria on the presence  
of result into each index ?

for example, we must have the same "owner id" into each index specified.

Best regards,

PMR

--  
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/CAJ2xi5Q8mUaQdbe4n\_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Ivan](https://avatars.discourse-cdn.com/v4/letter/i/df788c/32.png) [@Ivan](https://discuss.elastic.co/u/Ivan)\
**Post date:** [May 13, 2014, 10:12pm UTC](https://discuss.elastic.co/t/search-in-multiple-index/17474/4 "2014-05-13T22:12:16Z")

</div>

You cannot do a join between two indices.

--  
Ivan

On Tue, May 13, 2014 at 2:05 PM, Arnaud Boniface  
[arnaud.boniface@gmail.com](mailto:arnaud.boniface@gmail.com)wrote:

> Hello Ivan,
> 
> I thank you for your link. It confirms that we can search into several  
> indices or types.
> 
> Do you think is it possible to make a query with criteria on the presence  
> of result into each index ?
> 
> for example, we must have the same "owner id" into each index specified.
> 
> Best regards,
> 
> PMR
> 
> --  
> 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/CAJ2xi5Q8mUaQdbe4n\_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n\_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> .
> 
> For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/CALY%3DcQALwVr9Ds6mfwi8%2BXZ-T68xgRsbj7vjXmGinDcO\_\_jggg%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CALY%3DcQALwVr9Ds6mfwi8%2BXZ-T68xgRsbj7vjXmGinDcO__jggg%40mail.gmail.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![dharmendra\_pratap\_si](https://avatars.discourse-cdn.com/v4/letter/d/df705f/32.png) [@dharmendra\_pratap\_si](https://discuss.elastic.co/u/dharmendra_pratap_si)\
**Post date:** [May 14, 2014, 5:20am UTC](https://discuss.elastic.co/t/search-in-multiple-index/17474/5 "2014-05-14T05:20:03Z")

</div>

Ivan, Thanks a lot for your quick response.

I am looking to have multiindex search from the kibana dashboard's  
searchbox, It would be a gr8 if you can suggeset some sample query which  
searches from multiple index from kibana.  
(As of now I am not querying from rest api's GET method).

@Group members if anyone of us has implemented the same in ELK, plz put  
your ideas here.

Regards  
Dharmendra

On Wednesday, May 14, 2014 3:42:16 AM UTC+5:30, Ivan Brusic wrote:

> You cannot do a join between two indices.
> 
> --  
> Ivan
> 
> On Tue, May 13, 2014 at 2:05 PM, Arnaud Boniface \<[arnaud....@gmail.com](mailto:arnaud....@gmail.com)\<javascript:\>
> 
> > wrote:
> 
> > Hello Ivan,
> > 
> > I thank you for your link. It confirms that we can search into several  
> > indices or types.
> > 
> > Do you think is it possible to make a query with criteria on the presence  
> > of result into each index ?
> > 
> > for example, we must have the same "owner id" into each index specified.
> > 
> > Best regards,
> > 
> > PMR
> > 
> > --  
> > 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 [elasticsearc...@googlegroups.com](mailto:elasticsearc...@googlegroups.com) \<javascript:\>.  
> > To view this discussion on the web visit  
> > [https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n\_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com](https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com)[https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n\_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com?utm\_medium=email&utm\_source=footer](https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com?utm_medium=email&utm_source=footer)  
> > .
> > 
> > For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

--  
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/41b37330-1ead-49d5-bbc1-990c0dd15a4e%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/41b37330-1ead-49d5-bbc1-990c0dd15a4e%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:29am UTC](https://discuss.elastic.co/t/search-in-multiple-index/17474/6 "2017-07-06T01:29:36Z")

</div>


