你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.