I am trying to get a single document from a couchbase cluster. However, N1QL is disabled in the cluster.
I wanted to know if there is any way to get the document from the bucket without a N1QL query. I do not know the document ID's as well.
I simply need an option to get a random document(can be any document) from the entire bucket, without using the document ID or the N1QL query.
Is there any method in the JAVA SDK api that lets me do that? I am using version 2.7 however any version which does this can help.