in advance.
>
>
>
> --
> View this message in context:
> http://elasticsearch-users.115913.n3.nabble.com/Mechanism-of-internal-search-with-multiple-indices-tp4051988p4052080.html
> Sent from the ElasticSearch Users mailing list archive at Nabble.com.
>
> --
> You receiv
saving time. ?
Sorry for being verbose.
Thanks in advance.
--
View this message in context:
http://elasticsearch-users.115913.n3.nabble.com/Mechanism-of-internal-search-with-multiple-indices-tp4051988p4052080.html
Sent from the ElasticSearch Users mailing list archive at Nabble.com.
--
Y
@ Clinton : Many Thanks for explaining clearly how the query modifies
itself when a query is given with multiple indices and types.
My another doubt is that which I represent here. I have multiple indices
(assume 5 - i1,i2,i3,i4,i5), multiple types(5 in each index, so total 25
types - t1,t2.
On 17 March 2014 13:26, Clinton Gormley wrote:
> "query": {
> "dis_max": {
> "queries": [
> {
> "filtered": {
> "query": { "match": {"field_foo": "some search terms" }},
> "filter": { "term": { "_type": "type_one" }}
> }
> },
Hi Mohit
All documents stored in a single index are stored at the same "level",
regardless of their type. The "_type" is just a hidden field in each
document. So if you do a search like:
GET /index_one,index_two/_search
{ "query": { "match": { "field_foo": "some search terms" }}}
then
Hi ,
When a query is supplied with multiple indices (having same
structure), multiple types, along with some data to be searched, how does
it work internally ? Does it do a m*n comparisons where m is the data list
to be searched and n is the no of indices , or is there any other mechanism
?