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.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.autoFlush(boolean autoFlush)
Sets the flag determining whether a buffered sender will automatically flush its document batch based on the
configurations of
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.autoFlushInterval(Duration) and SearchClientBuilder.SearchIndexingBufferedSenderBuilder.initialBatchActionCount(int) . |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.autoFlushInterval(Duration autoFlushInterval)
Sets the duration between a buffered sender sending documents to be indexed.
|
<T> SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.bufferedSender(com.azure.core.util.serializer.TypeReference<T> documentType)
Create a new instance of
SearchClientBuilder.SearchIndexingBufferedSenderBuilder used to configure SearchIndexingBufferedSenders and SearchIndexingBufferedAsyncSenders . |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.documentKeyRetriever(Function<T,String> documentKeyRetriever)
Sets the function that retrieves the key value from a document.
|
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.initialBatchActionCount(int initialBatchActionCount)
Sets the number of documents before a buffered sender will send the batch to be indexed.
|
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.maxRetriesPerAction(int maxRetriesPerAction)
Sets the number of times an action will retry indexing before it is considered failed.
|
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.maxThrottlingDelay(Duration maxThrottlingDelay)
Sets the maximum duration that requests will be delayed when the service is throttling.
|
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.onActionAdded(Consumer<OnActionAddedOptions<T>> onActionAddedConsumer)
Callback hook for when a document indexing action has been added to a batch queued.
|
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.onActionError(Consumer<OnActionErrorOptions<T>> onActionErrorConsumer)
Sets the callback hook for when a document indexing action has failed to index and isn't retryable.
|
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.onActionSent(Consumer<OnActionSentOptions<T>> onActionSentConsumer)
Sets the callback hook for when a document indexing has been sent in a batching request.
|
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.onActionSucceeded(Consumer<OnActionSucceededOptions<T>> onActionSucceededConsumer)
Sets the callback hook for when a document indexing action has successfully completed indexing.
|
SearchClientBuilder.SearchIndexingBufferedSenderBuilder<T> |
SearchClientBuilder.SearchIndexingBufferedSenderBuilder.throttlingDelay(Duration throttlingDelay)
Sets the initial duration that requests will be delayed when the service is throttling.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.