public class ActionEnum extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
ADD_OBJECT
Add an object.
|
static String |
CLEAR
Remove the index’s content, but keep settings and index-specific API keys untouched.
|
static String |
DELETE
Delete the index.
|
static String |
DELETE_OBJECT
Delete an object.
|
static String |
PARTIAL_UPDATE_OBJECT
Partially update an object.
|
static String |
PARTIAL_UPDATE_OBJECT_NO_CREATE
Same as partialUpdateObject, except that the object is not created if the object designated by
objectID does not exist. |
static String |
UPDATE_OBJECT
Add or replace an existing object.
|
| Constructor and Description |
|---|
ActionEnum() |
public static final String ADD_OBJECT
public static final String UPDATE_OBJECT
objectID attribute to indicate
the object to update. Equivalent to Add/update an object by ID.public static final String PARTIAL_UPDATE_OBJECT
objectID attribute to indicate the
object to update. Equivalent to Partially update an object.public static final String PARTIAL_UPDATE_OBJECT_NO_CREATE
objectID does not exist.public static final String DELETE_OBJECT
objectID attribute to indicate the object to
delete. Equivalent to Delete an object.public static final String DELETE
public static final String CLEAR
Copyright © 2019. All rights reserved.