Package | Description |
---|---|
org.elasticsearch.action.admin.indices.mapping.put |
Put Mapping Action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
PutMappingRequest |
PutMappingRequest.ignoreConflicts(boolean ignoreDuplicates)
If there is already a mapping definition registered against the type, then it will be merged.
|
PutMappingRequest |
PutMappingRequest.indices(String[] indices)
Sets the indices this put mapping operation will execute on.
|
PutMappingRequest |
PutMappingRequest.indicesOptions(IndicesOptions indicesOptions) |
protected PutMappingRequest |
TransportPutMappingAction.newRequest() |
PutMappingRequest |
PutMappingRequest.source(Map mappingSource)
The mapping source definition.
|
PutMappingRequest |
PutMappingRequest.source(Object... source)
A specialized simplified mapping source method, takes the form of simple properties definition:
("field1", "type=string,store=true").
|
PutMappingRequest |
PutMappingRequest.source(String mappingSource)
The mapping source definition.
|
PutMappingRequest |
PutMappingRequest.source(XContentBuilder mappingBuilder)
The mapping source definition.
|
PutMappingRequest |
PutMappingRequest.type(String type)
The type of the mappings.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportPutMappingAction.checkBlock(PutMappingRequest request,
ClusterState state) |
protected void |
TransportPutMappingAction.masterOperation(PutMappingRequest request,
ClusterState state,
ActionListener<PutMappingResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static PutMappingRequest |
Requests.putMappingRequest(String... indices)
Create a create mapping request against one or more indices.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<PutMappingResponse> |
IndicesAdminClient.putMapping(PutMappingRequest request)
Add mapping definition for a type into one or more indices.
|
void |
IndicesAdminClient.putMapping(PutMappingRequest request,
ActionListener<PutMappingResponse> listener)
Add mapping definition for a type into one or more indices.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<PutMappingResponse> |
AbstractIndicesAdminClient.putMapping(PutMappingRequest request) |
void |
AbstractIndicesAdminClient.putMapping(PutMappingRequest request,
ActionListener<PutMappingResponse> listener) |
Copyright © 2009–2015. All rights reserved.