Querying the accessing documents from segments

As I understand when we query elastic search for documents, it will search in all the segments in shads and merge the result back.

My query is whether searching each segments is it done sequentially?

considering 100 segments in a shads means we have to search in 100 segment to confirm that all the required documents which satisfy the criteria are are retrieved

Yes. It's sequential.

Thanks David for the confirmation

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.