IndexBatch IndexBatch IndexBatch Class

Definition

Provides factory methods for creating a batch of document write operations to send to the Azure Search index.

public static class IndexBatch
type IndexBatch = class
Public Class IndexBatch
Inheritance
IndexBatchIndexBatchIndexBatch

Methods

Delete(String, IEnumerable<String>) Delete(String, IEnumerable<String>) Delete(String, IEnumerable<String>)

Creates a new IndexBatch for deleting a batch of documents.

Delete<T>(IEnumerable<T>) Delete<T>(IEnumerable<T>) Delete<T>(IEnumerable<T>)

Creates a new IndexBatch for deleting a batch of documents.

Merge<T>(IEnumerable<T>) Merge<T>(IEnumerable<T>) Merge<T>(IEnumerable<T>)

Creates a new IndexBatch for merging documents into existing documents in the index.

MergeOrUpload<T>(IEnumerable<T>) MergeOrUpload<T>(IEnumerable<T>) MergeOrUpload<T>(IEnumerable<T>)

Creates a new IndexBatch for uploading documents to the index, or merging them into existing documents for those that already exist in the index.

New<T>(IEnumerable<IndexAction<T>>) New<T>(IEnumerable<IndexAction<T>>) New<T>(IEnumerable<IndexAction<T>>)

Creates a new instance of the IndexBatch class.

Upload<T>(IEnumerable<T>) Upload<T>(IEnumerable<T>) Upload<T>(IEnumerable<T>)

Creates a new IndexBatch for uploading documents to the index.

Applies to