Class AsyncSearchClient

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

public class AsyncSearchClient extends Object
  • Field Details

  • Constructor Details

    • AsyncSearchClient

      public AsyncSearchClient(ClientOptions clientOptions)
  • Method Details

    • withRawResponse

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

      public CompletableFuture<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 CompletableFuture<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.