SearchPort Parameter (Connect-Couchbase Cmdlet)
The port or URL for connecting to the Couchbase Search Service Endpoint.
Syntax
Connect-Couchbase -SearchPort string
Data Type
cstr
Default Value
""
Remarks
This port is used for submitting queries when CouchbaseService is set to Search Service. It defaults to 8094 when not using SSL, and 18094 when using SSL. See UseSSL.
This option can be set one of two ways:
- As a port number like "1234". With this setting the cmdlet will send Search Service queries to the endpoint http://Server:SearchPort/api/index/ (or https:// if Server is https:// or UseSSL is enabled).
- As a full URL like "http://couchbase.example:1234/proxy". With this setting the cmdlet send Search Service queries using the endpoint you specify. For example, if you use that URL then Search Service requests will go to http://couchbase.example:1234/proxy/api/index/. Server and UseSSL are ignored for Search Service requests.