SearchIndexingBufferedSender<T>.addMergeOrUploadActions Method

Definition

Overloads

addMergeOrUploadActions(Collection<T> documents)

Adds merge or upload document actions to the batch.

If the client is enabled for automatic batch sending, adding documents may trigger the batch to be sent for indexing.

addMergeOrUploadActions(Collection<T> documents, Duration timeout, Context context)

Adds merge or upload document actions to the batch.

If the client is enabled for automatic batch sending, adding documents may trigger the batch to be sent for indexing.

addMergeOrUploadActions(Collection<T> documents)

Adds merge or upload document actions to the batch.

If the client is enabled for automatic batch sending, adding documents may trigger the batch to be sent for indexing.

public void addMergeOrUploadActions(Collection<T> documents)

Parameters

documents
java.util.Collection<T>

Documents to be merged or uploaded.

addMergeOrUploadActions(Collection<T> documents, Duration timeout, Context context)

Adds merge or upload document actions to the batch.

If the client is enabled for automatic batch sending, adding documents may trigger the batch to be sent for indexing.

public void addMergeOrUploadActions(Collection<T> documents, Duration timeout, Context context)

Parameters

documents
java.util.Collection<T>

Documents to be merged or uploaded.

timeout
java.time.Duration

Duration before the operation times out.

context
Context

Additional context that is passed through the HTTP pipeline.

Applies to