Bagikan melalui


SearchIndexingBufferedSender<T>.MergeDocuments Method

Definition

Adds a batch of merge actions to eventually send to the search index.

public virtual void MergeDocuments (System.Collections.Generic.IEnumerable<T> documents, System.Threading.CancellationToken cancellationToken = default);
abstract member MergeDocuments : seq<'T> * System.Threading.CancellationToken -> unit
override this.MergeDocuments : seq<'T> * System.Threading.CancellationToken -> unit
Public Overridable Sub MergeDocuments (documents As IEnumerable(Of T), Optional cancellationToken As CancellationToken = Nothing)

Parameters

documents
IEnumerable<T>

The documents to merge.

cancellationToken
CancellationToken

Optional CancellationToken to propagate notifications that the operation should be canceled.

Applies to