How can write a document and request consistency with FTS indexes

I can see in the source code that I can feed the Collection.insert an options object that has

options.durabilityPersistTo;
options.durabilityReplicateTo;

Do these only pertain to data nodes?

Is there any to wait on consistency with the indexing. GSI and FTS. Or either of them.

Those are Data writes, Indexes are eventual consistence. The N1QL queries ( indexes) must use scan_consistency

1 Like