IndexActionType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.search.documents.models.IndexActionType

public enum IndexActionType
extends Enum<IndexActionType>

The operation to perform on a document in an indexing batch.

Fields

DELETE

Removes the specified document from the index.

MERGE

Merges the specified field values with an existing document.

MERGE_OR_UPLOAD

Behaves like merge if a document with the given key already exists in the index.

UPLOAD

Inserts the document into the index if it is new and updates it if it exists.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

fromString(String value)

public static IndexActionType fromString(String value)

Parses a serialized value to a IndexActionType instance.

Parameters

value
String
the serialized value to parse.

Returns

the parsed IndexActionType object, or null if unable to parse.

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static IndexActionType valueOf(String name)

Parameters

name
String

Returns

values()

public static IndexActionType[] values()

Returns

Applies to