Class SearchClient

java.lang.Object
ai.vectros.resources.search.SearchClient

public class SearchClient extends Object
  • Field Details

  • Constructor Details

    • SearchClient

      public SearchClient(ClientOptions clientOptions)
  • Method Details

    • withRawResponse

      public RawSearchClient withRawResponse()
      Get responses with HTTP metadata like headers
    • content

      public SearchResponse content(SearchRequest request)
      Runs a hybrid, semantic, or text search across the content you have indexed. By default it returns both documents and records in a single unified result set; pass contentTypes to narrow the results (for example ["documents"]). Each result carries a sourceType discriminator (PartnerDocument or GenericRecord) so you can branch on the type. Requires the search:r scope.
    • content

      public SearchResponse content(SearchRequest request, RequestOptions requestOptions)
      Runs a hybrid, semantic, or text search across the content you have indexed. By default it returns both documents and records in a single unified result set; pass contentTypes to narrow the results (for example ["documents"]). Each result carries a sourceType discriminator (PartnerDocument or GenericRecord) so you can branch on the type. Requires the search:r scope.