Class SearchRequest

Represents a search query and/or vector search to execute via the Couchbase Full Text Search (FTS) service.

Constructors

Methods

  • Adds a search query to the request if the request does not already have a search query.

    Parameters

    • query: SearchQuery

      A SearchQuery to add to the request.

    Returns SearchRequest

  • Adds a vector search to the request if the request does not already have a vector search.

    Parameters

    Returns SearchRequest