I have been creating deployments for my companies Couchbase estate and have hit an issue creating the indexes that we need. I am using Ansible, and its builtin.uri module. I have found that the /query/search endpoint appears to be ‘missing’ from our machines, which I believe is the only way to create a secondary index through the API’s. Has anyone else had this issue? I feel like it’s likely something we have disabled somewhere, or are missing a setting, but i can’t find any documentation for it.
The Query service IS running… And we are able to query the database via the gui or via cbq on the cli. Any help is appreciated.
I found an old topic in here for the same issue but no detail on a fix or cause.
Server version 7.2.0
Edit:
Status: 404 Object Not Found
curl -v -k -u user:pass https://host:18091/query/search -d ‘statement=SELECT * FROM travel-sample
WHERE type = "airline" LIMIT 5’ \