Hello,
I am observing a small delay around 250ms between the time of document insertion and the result shows up from the N1QL query. This is CB 4.0 community running locally inside a docker container, single node. I am wondering if there is a way to tweak this number, to make it faster, or make document insertion a tad bit slower.
I can't do this in my code, for example:
cb.set("key", '{"foo":1}')
result = cb.query("SELECT * FROM `default` WHERE `foo` = 1")
Since the query happens immediately after insertion.
There is already an index for foo.
"CREATE INDEX foo_index ON default(`foo`)"
Thank you!