Class CreateIndexRequest

All Implemented Interfaces:
IndicesRequest, AckedRequest, Writeable, ToXContent, ToXContentObject, TaskAwareRequest

public class CreateIndexRequest
extends AcknowledgedRequest<CreateIndexRequest>
implements IndicesRequest, ToXContentObject
A request to create an index. Best created with Requests.createIndexRequest(String).

The index created can optionally be created with settings(org.elasticsearch.common.settings.Settings).

See Also:
IndicesAdminClient.create(CreateIndexRequest), Requests.createIndexRequest(String), CreateIndexResponse