I am having some performance issues when executing N1Q1 queries using the Java SDK (v 2.7.10).
The total number of documents in the bucket is approx. 50k.
When executing the queries in the workbench the elapsed time is 1-2 s . However, from the Java SDK, it takes 4 - 5s.
Any help ?
ParameterizedN1qlQuery query = N1qlQuery.parameterized(query, JsonObject.fromJson(params)); Observable<JsonObject> observable = bucket.async() .query(query) .map(AsyncN1qlQueryRow::value);