The records inserted into CouchBase By Java program are not returning in Select Query… But i am seeing document if i do search with Document ID . If i restart Couchbase i am getting the records in select query.
Couchbase version : 4.5.0-2601 (Enterprise Edition)
I’ll bet this is probably because you are using NotBounded ScanConsistency in your queries (which is the default behavior). For more information, check out this blog post (the examples are in C# but I think it should be helpful no matter which language you are coding in) - https://blog.couchbase.com/new-to-couchbase-4.5-atplus/
But if i do select query after 1 day also i am not getting data.
Even i am not getting data when i do search from Couchbase Admin console.Only getting it after restart the couchbase.
Could you post an example of the document and an example of the query?
Did you create the index using GSI, MOI or Views?