IndexActionType Enum
- java.
lang. Object - java.
lang. Enum - com.
azure. search. documents. models. IndexActionType
- com.
- java.
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
valueOf
clone
compareTo
describeConstable
equals
finalize
getDeclaringClass
hashCode
name
ordinal
toString
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
Returns
the parsed IndexActionType object, or null if unable to parse.
toString()
valueOf(String name)
values()
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java