Package | Description |
---|---|
org.elasticsearch.action.admin.indices.create |
Create index action.
|
org.elasticsearch.client |
The client module allowing to easily perform actions/operations.
|
org.elasticsearch.client.support |
Modifier and Type | Method and Description |
---|---|
CreateIndexRequest |
CreateIndexRequest.alias(Alias alias)
Adds an alias that will be associated with the index when it gets created
|
CreateIndexRequest |
CreateIndexRequest.aliases(BytesReference source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequest |
CreateIndexRequest.aliases(Map source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequest |
CreateIndexRequest.aliases(String source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequest |
CreateIndexRequest.aliases(XContentBuilder source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequest |
CreateIndexRequest.cause(String cause)
The cause for this index creation.
|
CreateIndexRequest |
CreateIndexRequest.custom(IndexMetaData.Custom custom)
Adds custom metadata to the index to be created.
|
CreateIndexRequest |
CreateIndexRequest.index(String index) |
CreateIndexRequest |
CreateIndexRequest.mapping(String type,
Map source)
Adds mapping that will be added when the index gets created.
|
CreateIndexRequest |
CreateIndexRequest.mapping(String type,
Object... source)
A specialized simplified mapping source method, takes the form of simple properties definition:
("field1", "type=string,store=true").
|
CreateIndexRequest |
CreateIndexRequest.mapping(String type,
String source)
Adds mapping that will be added when the index gets created.
|
CreateIndexRequest |
CreateIndexRequest.mapping(String type,
XContentBuilder source)
Adds mapping that will be added when the index gets created.
|
protected CreateIndexRequest |
TransportCreateIndexAction.newRequest() |
CreateIndexRequest |
CreateIndexRequest.settings(Map source)
The settings to create the index with (either json/yaml/properties format)
|
CreateIndexRequest |
CreateIndexRequest.settings(Object... settings)
A simplified version of settings that takes key value pairs settings.
|
CreateIndexRequest |
CreateIndexRequest.settings(Settings.Builder settings)
The settings to create the index with.
|
CreateIndexRequest |
CreateIndexRequest.settings(Settings settings)
The settings to create the index with.
|
CreateIndexRequest |
CreateIndexRequest.settings(String source)
The settings to create the index with (either json/yaml/properties format)
|
CreateIndexRequest |
CreateIndexRequest.settings(XContentBuilder builder)
Allows to set the settings using a json builder.
|
CreateIndexRequest |
CreateIndexRequest.source(byte[] source)
Sets the settings and mappings as a single source.
|
CreateIndexRequest |
CreateIndexRequest.source(byte[] source,
int offset,
int length)
Sets the settings and mappings as a single source.
|
CreateIndexRequest |
CreateIndexRequest.source(BytesReference source)
Sets the settings and mappings as a single source.
|
CreateIndexRequest |
CreateIndexRequest.source(Map<String,Object> source)
Sets the settings and mappings as a single source.
|
CreateIndexRequest |
CreateIndexRequest.source(String source)
Sets the settings and mappings as a single source.
|
CreateIndexRequest |
CreateIndexRequest.source(XContentBuilder source)
Sets the settings and mappings as a single source.
|
Modifier and Type | Method and Description |
---|---|
protected ClusterBlockException |
TransportCreateIndexAction.checkBlock(CreateIndexRequest request,
ClusterState state) |
protected void |
TransportCreateIndexAction.masterOperation(CreateIndexRequest request,
ClusterState state,
ActionListener<CreateIndexResponse> listener) |
Modifier and Type | Method and Description |
---|---|
static CreateIndexRequest |
Requests.createIndexRequest(String index)
Creates a create index request.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<CreateIndexResponse> |
IndicesAdminClient.create(CreateIndexRequest request)
Creates an index using an explicit request allowing to specify the settings of the index.
|
void |
IndicesAdminClient.create(CreateIndexRequest request,
ActionListener<CreateIndexResponse> listener)
Creates an index using an explicit request allowing to specify the settings of the index.
|
Modifier and Type | Method and Description |
---|---|
ActionFuture<CreateIndexResponse> |
AbstractIndicesAdminClient.create(CreateIndexRequest request) |
void |
AbstractIndicesAdminClient.create(CreateIndexRequest request,
ActionListener<CreateIndexResponse> listener) |
Copyright © 2009–2015. All rights reserved.