Select and Update

Hi.
We are trying to do the following and any help would be appreciated.
Say you make a search and 100,000 documents match.
We would like to increment a counter in each document that matched. Then at the same time select the first page say the first 50.

Can this be done in one operation or may be a parallel scenario.

Read and write operations are always separated from each other. So you'd have on operation doing the counter incrementing and one doing the query.

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