IndexAction Class

Represents an index action that operates on a document.

Inheritance
IndexAction

Constructor

IndexAction(*, additional_properties: Optional[Dict[str, Any]] = None, action_type: Optional[Union[str, azure.search.documents._generated.models._search_client_enums.IndexActionType]] = None, **kwargs)

Parameters

additional_properties
dict[str, any]
Required

Unmatched properties from the message are deserialized to this collection.

action_type
str or <xref:azure.search.documents.models.IndexActionType>
Required

The operation to perform on a document in an indexing batch. Possible values include: "upload", "merge", "mergeOrUpload", "delete".