| Package | Description |
|---|---|
| org.elasticsearch.action.admin.indices.mapping.put |
Put Mapping Action.
|
| org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
| Modifier and Type | Method and Description |
|---|---|
PutMappingRequest |
PutMappingRequest.indices(String[] indices)
Sets the indices this put mapping operation will execute on.
|
PutMappingRequest |
PutMappingRequest.indicesOptions(IndicesOptions indicesOptions) |
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.
|
PutMappingRequest |
PutMappingRequest.updateAllTypes(boolean updateAllTypes)
See
updateAllTypes() |
| 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.
|
Copyright © 2009–2017. All rights reserved.