What is the multi-threading model for querying & indexing?

Hi,

I searched for this information all over the site and the old/new
mailing list and I could not find anything specific, explaining the
multi threading model for the indexing/querying.

Could you guys provide more information on the multi-threading model
of Elastic Search:
(1) at query level : one thread/query/shard?
(2) at indexing level : one thread/shard?

Thanks
Paul.

Yes, the threading model is one thread per shard (for search and indexing).
Note, threading model is also important network systems, which is how do you
handle threads while doing remote calls. elasticsearch, in this regards, is
evented, which means there is no thread blocking waiting for responses from
another node (For example, when doing index replication, or distributed
search across several nodes).

On Tue, Aug 2, 2011 at 11:49 AM, Paul Sabou paul.sabou@gmail.com wrote:

Hi,

I searched for this information all over the site and the old/new
mailing list and I could not find anything specific, explaining the
multi threading model for the indexing/querying.

Could you guys provide more information on the multi-threading model
of Elastic Search:
(1) at query level : one thread/query/shard?
(2) at indexing level : one thread/shard?

Thanks
Paul.