Uses of Class
com.azure.search.documents.SearchClientBuilder
Packages that use SearchClientBuilder
Package
Description
Azure AI Search, formerly known as "Azure AI Search", provides secure information retrieval at scale over
user-owned content in traditional and conversational search applications.
-
Uses of SearchClientBuilder in com.azure.search.documents
Methods in com.azure.search.documents that return SearchClientBuilderModifier and TypeMethodDescriptionSearchClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy) Adds apipeline policyto apply on each request sent.SearchClientBuilder.audience(SearchAudience audience) Sets the Audience to use for authentication with Microsoft Entra ID.SearchClientBuilder.clientOptions(com.azure.core.util.ClientOptions clientOptions) Allows for setting common properties such as application ID, headers, proxy configuration, etc.SearchClientBuilder.configuration(com.azure.core.util.Configuration configuration) Sets the configuration store that is used during construction of the service client.SearchClientBuilder.credential(com.azure.core.credential.AzureKeyCredential credential) Sets theAzureKeyCredentialused to authenticate HTTP requests.SearchClientBuilder.credential(com.azure.core.credential.TokenCredential credential) Sets theTokenCredentialused to authorize requests sent to the service.Sets the service endpoint for the Azure AI Search instance.SearchClientBuilder.httpClient(com.azure.core.http.HttpClient client) Sets theHttpClientto use for sending and receiving requests to and from the service.SearchClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions logOptions) Sets thelogging configurationto use when sending and receiving requests to and from the service.Sets the name of the index.SearchClientBuilder.pipeline(com.azure.core.http.HttpPipeline httpPipeline) Sets theHttpPipelineto use for the service client.SearchClientBuilder.retryOptions(com.azure.core.http.policy.RetryOptions retryOptions) Sets theRetryOptionsfor all the requests made through the client.SearchClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy) Sets theHttpPipelinePolicythat will attempt to retry requests when needed.SearchClientBuilder.serializer(com.azure.core.util.serializer.JsonSerializer jsonSerializer) Custom JSON serializer that is used to handle model types that are not contained in the Azure Search Documents library.SearchClientBuilder.serviceVersion(SearchServiceVersion serviceVersion) Sets theSearchServiceVersionthat is used when making API requests.