| Package | Description |
|---|---|
| com.azure.search.documents |
Package containing classes for creating
SearchClient or
SearchAsyncClient used to perform document management, autocomplete, search, or
suggestion operations using an Azure Cognitive Search service index. |
| Modifier and Type | Method and Description |
|---|---|
SearchClientBuilder |
SearchClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
Adds a pipeline policy to apply to each request sent.
|
SearchClientBuilder |
SearchClientBuilder.configuration(com.azure.core.util.Configuration configuration)
Sets the configuration store that is used during construction of the service client.
|
SearchClientBuilder |
SearchClientBuilder.credential(com.azure.core.credential.AzureKeyCredential credential)
Sets the
AzureKeyCredential used to authenticate HTTP requests. |
SearchClientBuilder |
SearchClientBuilder.endpoint(String endpoint)
Sets the service endpoint for the Azure Cognitive Search instance.
|
SearchClientBuilder |
SearchClientBuilder.httpClient(com.azure.core.http.HttpClient client)
Sets the HTTP client to use for sending requests and receiving responses.
|
SearchClientBuilder |
SearchClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions logOptions)
Sets the logging configuration for HTTP requests and responses.
|
SearchClientBuilder |
SearchClientBuilder.indexName(String indexName)
Sets the name of the index.
|
SearchClientBuilder |
SearchClientBuilder.pipeline(com.azure.core.http.HttpPipeline httpPipeline)
Sets the HTTP pipeline to use for the service client.
|
SearchClientBuilder |
SearchClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets the
HttpPipelinePolicy that will attempt to retry requests when needed. |
SearchClientBuilder |
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 |
SearchClientBuilder.serviceVersion(SearchServiceVersion serviceVersion)
Sets the
SearchServiceVersion that is used when making API requests. |
Copyright © 2020 Microsoft Corporation. All rights reserved.