DocumentOperationsExtensions.Index Method (IDocumentOperations, IndexBatch)
Sends a batch of upload, merge, and/or delete actions to the Azure Search index. (see https://msdn.microsoft.com/en-us/library/azure/dn798935.aspx for more information)
Namespace: Microsoft.Azure.Search
Assembly: Microsoft.Azure.Search (in Microsoft.Azure.Search.dll)
Usage
'Usage
Dim operations As IDocumentOperations
Dim batch As IndexBatch
Dim returnValue As DocumentIndexResponse
returnValue = DocumentOperationsExtensions.Index(operations, batch)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function Index ( _
operations As IDocumentOperations, _
batch As IndexBatch _
) As DocumentIndexResponse
[ExtensionAttribute]
public static DocumentIndexResponse Index (
IDocumentOperations operations,
IndexBatch batch
)
[ExtensionAttribute]
public:
static DocumentIndexResponse^ Index (
IDocumentOperations^ operations,
IndexBatch^ batch
)
/** @attribute ExtensionAttribute() */
public static DocumentIndexResponse Index (
IDocumentOperations operations,
IndexBatch batch
)
ExtensionAttribute
public static function Index (
operations : IDocumentOperations,
batch : IndexBatch
) : DocumentIndexResponse
Parameters
- batch
The batch of index actions.
Return Value
Response containing the status of operations for all actions in the batch.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012
Target Platforms
See Also
Reference
DocumentOperationsExtensions Class
DocumentOperationsExtensions Members
Microsoft.Azure.Search Namespace