Query exection

I remember once seeing something that related to es query exeuction not
sure if its for get and also a search but for every shard in the index it
has to query each of them until it finds the shard that has the dataset and
it does not do all the shards at once but one at a time.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

I think you confuse something. for a get action ES only ask one shard
since it knows where to go. For a search it queries all shards (one
replica of each shard) and merges the results but that happens in parallel.

simon
On Sunday, March 3, 2013 8:52:27 AM UTC+1, Wojons Tech wrote:

I remember once seeing something that related to es query exeuction not
sure if its for get and also a search but for every shard in the index it
has to query each of them until it finds the shard that has the dataset and
it does not do all the shards at once but one at a time.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.

Okay that is what i wanted to make sure it was doing after posting the
first time i figured the get was smart, The reason for the search one was I
thought I heard something related in one of the converances that
elasticsearch would query the databases not in parral

On Saturday, March 2, 2013 11:52:27 PM UTC-8, Wojons Tech wrote:

I remember once seeing something that related to es query exeuction not
sure if its for get and also a search but for every shard in the index it
has to query each of them until it finds the shard that has the dataset and
it does not do all the shards at once but one at a time.

--
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.
For more options, visit https://groups.google.com/groups/opt_out.