Package | Description |
---|---|
com.azure.search.documents.indexes |
Package containing classes for creating
SearchIndexClient ,
SearchIndexAsyncClient ,
SearchIndexerClient , or
SearchIndexerAsyncClient used to perform resource management operations
on an Azure Cognitive Search service. |
Modifier and Type | Method and Description |
---|---|
SearchIndexClientBuilder |
SearchIndexClientBuilder.addPolicy(com.azure.core.http.policy.HttpPipelinePolicy policy)
Adds a pipeline policy to apply to each request sent.
|
SearchIndexClientBuilder |
SearchIndexClientBuilder.clientOptions(com.azure.core.util.ClientOptions clientOptions)
Sets the client options such as application ID and custom headers to set on a request.
|
SearchIndexClientBuilder |
SearchIndexClientBuilder.configuration(com.azure.core.util.Configuration configuration)
Sets the configuration store that is used during construction of the service client.
|
SearchIndexClientBuilder |
SearchIndexClientBuilder.credential(com.azure.core.credential.AzureKeyCredential credential)
Sets the
AzureKeyCredential used to authenticate HTTP requests. |
SearchIndexClientBuilder |
SearchIndexClientBuilder.credential(com.azure.core.credential.TokenCredential credential)
Sets the
TokenCredential used to authenticate HTTP requests. |
SearchIndexClientBuilder |
SearchIndexClientBuilder.endpoint(String endpoint)
Sets the service endpoint for the Azure Cognitive Search instance.
|
SearchIndexClientBuilder |
SearchIndexClientBuilder.httpClient(com.azure.core.http.HttpClient client)
Sets the HTTP client to use for sending requests and receiving responses.
|
SearchIndexClientBuilder |
SearchIndexClientBuilder.httpLogOptions(com.azure.core.http.policy.HttpLogOptions logOptions)
Sets the logging configuration for HTTP requests and responses.
|
SearchIndexClientBuilder |
SearchIndexClientBuilder.pipeline(com.azure.core.http.HttpPipeline httpPipeline)
Sets the HTTP pipeline to use for the service client.
|
SearchIndexClientBuilder |
SearchIndexClientBuilder.retryPolicy(com.azure.core.http.policy.RetryPolicy retryPolicy)
Sets the
HttpPipelinePolicy that will attempt to retry requests when needed. |
SearchIndexClientBuilder |
SearchIndexClientBuilder.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.
|
SearchIndexClientBuilder |
SearchIndexClientBuilder.serviceVersion(SearchServiceVersion serviceVersion)
Sets the
SearchServiceVersion that is used when making API requests. |
Copyright © 2021 Microsoft Corporation. All rights reserved.