Couchbase Questions: Stale

Have a Question? Get it answered by our community

joaojeronimo's picture
Asked 3 weeks 5 days ago
Latest activity 3 weeks 3 days ago

Is there any way to manipulate the stale flag ?

I was running some tests, inserting a bunch of data and retrieving it right after with a N1QL query, and after I created an index for a field, querying by that field right after inserting the document was not working. I dug a bit and found some information about the stale flag, and thought that...

jonathonl's picture
Asked 7 months 3 weeks ago
Latest activity 7 months 3 weeks ago

How does N1QL handle the stale parameter?

1. Does N1QL use "stale=ok" for queries that use created indexes?

2. Is there an issue with stale documents for buckets that have no indexes created on them? In other words, if a primary index is not created and "SELECT * FROM default" is called, is it possible for the result from the...

harshit's picture
Asked 1 year 4 months ago
Latest activity 1 year 4 months ago

Immediate GET doesn't give the data from view

I am creating a new document and saving it and then i try to read a view for it . I dont get the result .
This is how i save

public void set(String key, String jsonDoc) {
erkansahin's picture
Asked 1 year 5 months ago
Latest activity 1 year 5 months ago

Same View Different Query Time

We develop our institutional project. We use couchbase for data management.We try same query many times from couchbase .Thats are same query but executing times are different.First 0.2 seconds second 1.7 third 0.6 ...How can i solve this problem.Because now couchbase has test data.It is only...