Search in Multiple Index


(dharmendra pratap singh) #1

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ed5f95d8-dd98-4445-8e43-d6b80e4e54b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Ivan Brusic) #2

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

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-search.html

Cheers,

Ivan

On Tue, May 13, 2014 at 1:52 AM, dharmendra pratap singh <
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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/ed5f95d8-dd98-4445-8e43-d6b80e4e54b0%40googlegroups.comhttps://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.

--
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.
To view this discussion on the web visit 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.


(Arnaud Boniface) #3

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


(Ivan Brusic) #4

You cannot do a join between two indices.

--
Ivan

On Tue, May 13, 2014 at 2:05 PM, Arnaud Boniface
arnaud.boniface@gmail.comwrote:

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.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.comhttps://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.

--
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.
To view this discussion on the web visit 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.


(dharmendra pratap singh) #5

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<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 <javascript:>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/elasticsearch/CAJ2xi5Q8mUaQdbe4n_FSyUZ4CKKn%2B6X65h6iaiyYyxo-QqcBnQ%40mail.gmail.comhttps://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.

--
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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/41b37330-1ead-49d5-bbc1-990c0dd15a4e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #6