Hi,
Is it possible to issue a synchronous document upsert command that finishes after all involved N1QL indexes have been updated? Alternatively, is it possible to subscribe for notifications about N1QL index updates?
Thanks,
Igor Sandler
Hi,
Is it possible to issue a synchronous document upsert command that finishes after all involved N1QL indexes have been updated? Alternatively, is it possible to subscribe for notifications about N1QL index updates?
Thanks,
Igor Sandler
Hi Igor,
When running a N1QL query you can specify a “scan consistency” option. The default is to run the query immediately without waiting for index updates. The RequestPlus
setting waits for all pending index updates to complete before running the query, and AtPlus
waits for a specific change to be indexed.
Thanks,
David