Consistent Views

What you want is akin to “Read Your Own Writes”, ie. strong consistency of the view query.
To do so, simply use the relevant option on the ViewQuery:

myViewQuery.Stale(StaleState.False); :smile: :+1:

It will force a wait for the indexation to finish before the view returns a result (so of course it is a performance vs consistency tradeoff).

2 Likes