Facing an issue with N1QL queries, I have created an API using .NET core and executing the queries using below snippet -
var result = await _couchbaseCluster.QueryAsync(query);
await foreach (dynamic row in result){
// mapping of ExpandObject to actual model goes here
}
and return response from here
When an API is called from application, it sometimes return empty payload or payload with some results. This behavior is inconsistent.
We have placed all the required indexes on buckets in Couchbase server.
Please help us out in resolving this issue.