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 |
---|---|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.addAlias(Alias alias)
Adds an alias that will be associated with the index when it gets created
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.addCustom(IndexMetaData.Custom custom)
Adds custom metadata to the index to be created.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.addMapping(String type,
Map<String,Object> source)
Adds mapping that will be added when the index gets created.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.addMapping(String type,
Object... source)
A specialized simplified mapping source method, takes the form of simple properties definition:
("field1", "type=string,store=true").
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.addMapping(String type,
String source)
Adds mapping that will be added when the index gets created.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.addMapping(String type,
XContentBuilder source)
Adds mapping that will be added when the index gets created.
|
CreateIndexRequestBuilder |
CreateIndexAction.newRequestBuilder(IndicesAdminClient client) |
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setAliases(BytesReference source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setAliases(Map source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setAliases(String source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setAliases(XContentBuilder source)
Sets the aliases that will be associated with the index when it gets created
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setCause(String cause)
The cause for this index creation.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setIndex(String index)
Sets the name of the index to be created
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSettings(Map<String,Object> source)
The settings to create the index with (either json/yaml/properties format)
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSettings(Object... settings)
A simplified version of settings that takes key value pairs settings.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSettings(Settings.Builder settings)
The settings to create the index with.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSettings(Settings settings)
The settings to create the index with.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSettings(String source)
The settings to create the index with (either json/yaml/properties format)
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSettings(XContentBuilder builder)
Allows to set the settings using a json builder.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSource(byte[] source)
Sets the settings and mappings as a single source.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSource(byte[] source,
int offset,
int length)
Sets the settings and mappings as a single source.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSource(BytesReference source)
Sets the settings and mappings as a single source.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSource(Map<String,Object> source)
Sets the settings and mappings as a single source.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSource(String source)
Sets the settings and mappings as a single source.
|
CreateIndexRequestBuilder |
CreateIndexRequestBuilder.setSource(XContentBuilder source)
Sets the settings and mappings as a single source.
|
Modifier and Type | Method and Description |
---|---|
CreateIndexRequestBuilder |
IndicesAdminClient.prepareCreate(String index)
Creates an index using an explicit request allowing to specify the settings of the index.
|
Modifier and Type | Method and Description |
---|---|
CreateIndexRequestBuilder |
AbstractIndicesAdminClient.prepareCreate(String index) |
Copyright © 2009–2015. All rights reserved.