Does Couchbase server 2.5 support n1ql query?

I used 2.4.7 java sdk and tried with couchbase server 2.5, but got below exception:
Exception in thread “main” com.couchbase.client.core.ServiceNotAvailableException: The Query service is not enabled or no node in the cluster supports it.

Is it because that couchbase 2.5 doesn’t support n1ql query or I just didn’t configure it right?

The error message is correct. N1QL is available only in Couchbase 4.0 and above.

1 Like

Thanks for your confirmation.