I am using Couchbase Server 4.5.1-2844 Community Edition.
I am doing queries (using indexes ) with count and they take over 3 minutes. How is it possible?
For example this query gives result after 4 minutes.
SELECT COUNT(Consist), Consist FROM test-couchbase-ale GROUP BY Consist;
out of the 1.2 million docs how many docs is the indexing reducing it by. Sounds like the query service is fetching a lot of docs to satisfy your query.