Reputation: 695
Related to this 3-year old question.
Is a way to see if the "Index" and "Query" boxes where checked when a Couchbase server was configured?
I am dealing with a Couchbase 4.0 server that someone else configured, and I'm having problems running N1QL-queries, frequently returning "Requested resource not found.".
Any help here is greatly appreciated.
Upvotes: 2
Views: 113
Reputation: 26169
From the UI, you can click on "Server Nodes". Each node in the cluster will have the services listed:
You could also use the REST API to find this information. For instance, if you use the /pools/nodes endpoint, you'll get a list of nodes which contains a property "services", that will list the available services. Here's a snippet of a typical response:
// . . . snip . . .
"nodes": [{
"services": ["index", "kv", "n1ql"],
// . . . snip . . .
Upvotes: 3