Package | Description |
---|---|
org.elasticsearch.action.bulk | |
org.elasticsearch.action.delete |
Delete action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
BulkRequestBuilder |
BulkRequestBuilder.add(DeleteRequestBuilder request)
Adds an
DeleteRequest to the list of actions to execute. |
Modifier and Type | Method and Description |
---|---|
DeleteRequestBuilder |
DeleteAction.newRequestBuilder(ElasticsearchClient client) |
DeleteRequestBuilder |
DeleteRequestBuilder.setId(String id)
Sets the id of the document to delete.
|
DeleteRequestBuilder |
DeleteRequestBuilder.setParent(String parent)
Sets the parent id of this document.
|
DeleteRequestBuilder |
DeleteRequestBuilder.setRefresh(boolean refresh)
Should a refresh be executed post this index operation causing the operation to
be searchable.
|
DeleteRequestBuilder |
DeleteRequestBuilder.setRouting(String routing)
Controls the shard routing of the delete request.
|
DeleteRequestBuilder |
DeleteRequestBuilder.setType(String type)
Sets the type of the document to delete.
|
DeleteRequestBuilder |
DeleteRequestBuilder.setVersion(long version)
Sets the version, which will cause the delete operation to only be performed if a matching
version exists and no changes happened on the doc since then.
|
DeleteRequestBuilder |
DeleteRequestBuilder.setVersionType(VersionType versionType)
Sets the type of versioning to use.
|
Modifier and Type | Method and Description |
---|---|
DeleteRequestBuilder |
Client.prepareDelete()
Deletes a document from the index based on the index, type and id.
|
DeleteRequestBuilder |
Client.prepareDelete(String index,
String type,
String id)
Deletes a document from the index based on the index, type and id.
|
Modifier and Type | Method and Description |
---|---|
DeleteRequestBuilder |
AbstractClient.prepareDelete() |
DeleteRequestBuilder |
AbstractClient.prepareDelete(String index,
String type,
String id) |
Copyright © 2009–2016. All rights reserved.