質問

When a distributed search is done, the initial query is forwarded to all shards that are part of the specific collection that we are querying.

My question here is, Which is the machine that does the aggregation for results from shards?

Is the machine which receives the initial request?

役に立ちましたか?

解決

You're right. Moreover, there are several stages, all of which are managed by the same node: 1. Send to all shards (one member of each), gather paged results and create a single page of them 2. If grouping is enabled, request grouped results from corresponding shards 3. Request field values from the shards which hold the final set of documents

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top