Sdílet prostřednictvím


IndexDocumentsBatch.MergeOrUpload<T>(IEnumerable<T>) Method

Definition

Create an IndexDocumentsBatch<T> to merge or upload.

public static Azure.Search.Documents.Models.IndexDocumentsBatch<T> MergeOrUpload<T> (System.Collections.Generic.IEnumerable<T> documents);
static member MergeOrUpload : seq<'T> -> Azure.Search.Documents.Models.IndexDocumentsBatch<'T>
Public Shared Function MergeOrUpload(Of T) (documents As IEnumerable(Of T)) As IndexDocumentsBatch(Of T)

Type Parameters

T

The .NET type that maps to the index schema. Instances of this type can be retrieved as documents from the index.

Parameters

documents
IEnumerable<T>

The documents to merge or upload.

Returns

An IndexDocumentsBatch<T> to merge or upload.

Applies to