Cant add SEARCH service using CLI

Hi ,

Trying to add new node to the cluster and assigning services to the new node using cli and getting below error.

Tried below 7 methods/commands, please let me know is there any other workaround.
Note: COUCHBASE server 5.5 on RHEL 7
1>.[root@xsdd0002 tmp]# /opt/couchbase/bin/couchbase-cli cluster-init --cluster-username admin --cluster-password xxxxx --cluster (hostname -f):8091 --cluster-name TEST --cluster-port 8091 --cluster-ramsize 16381 --cluster-index-ramsize 8190 --services data,index,query,fts,search ERROR: `search` is not a valid service 2>.[root@xsdd0002 tmp]# /opt/couchbase/bin/couchbase-cli cluster-init --cluster-username admin --cluster-password xxxxx --cluster (hostname -f):8091 --cluster-name TEST --cluster-port 8091 --cluster-ramsize 16381 --cluster-index-ramsize 8190 --services data,search,index,query,fts,
ERROR: is not a valid service 3>.[root@xsdd0002 tmp]# /opt/couchbase/bin/couchbase-cli cluster-init --cluster-username admin --cluster-password xxxxx --cluster $(hostname -f):8091 --cluster-name TEST --cluster-port 8091 --cluster-ramsize 16381 --cluster-index-ramsize 8190 --services data,'search',index,query,fts, ERROR: is not a valid service
4>.[root@xsdd0002 tmp]# /opt/couchbase/bin/couchbase-cli cluster-init --cluster-username admin --cluster-password xxxxx --cluster (hostname -f):8091 --cluster-name TEST --cluster-port 8091 --cluster-ramsize 16381 --cluster-index-ramsize 8190 --services data,search,index,query,fts ERROR: `search` is not a valid service 5>.[root@xsdd0002 tmp]# /opt/couchbase/bin/couchbase-cli cluster-init --cluster-username admin --cluster-password xxxxx --cluster (hostname -f):8091 --cluster-name TEST --cluster-port 8091 --cluster-ramsize 16381 --cluster-index-ramsize 8190 --services data,‘search’,index,query,fts
ERROR: search is not a valid service
6>.[root@xsdd0002 tmp]# /opt/couchbase/bin/couchbase-cli cluster-init --cluster-username admin --cluster-password xxxxx --cluster (hostname -f):8091 --cluster-name TEST --cluster-port 8091 --cluster-ramsize 16381 --cluster-index-ramsize 8190 --services data,'Search',index,query,fts ERROR: `Search` is not a valid service 7>.[root@xsdd0002 tmp]# /opt/couchbase/bin/couchbase-cli cluster-init --cluster-username admin --cluster-password xxxxx --cluster (hostname -f):8091 --cluster-name TEST --cluster-port 8091 --cluster-ramsize 16381 --cluster-index-ramsize 8190 --services Search,index,query,fts,data
ERROR: Search is not a valid service

Thanks,
Hemanth

You can do couchbase-cli cluster-init --help to get more information. Here are the accepted values:

       --services
           Specifies the services to start on this cluster. You may not change the services running
           on this node once the cluster has been initialized. This options takes a comma separated
           list of services. Accepted services are "data", "index", "query", "fts", "eventing" and
           "analytics" specified as a comma-separated list. This parameter defaults to "data".

fts stands for Full-Text Search, which is the “search” service you are trying to add. So use fts only, as shown in the options above.

Unrelated, but do you intend to add that many services on the same node?

Thank you David…will check on it