CreateIndexRequest

case class CreateIndexRequest(name: String, _analysis: Option[AnalysisDefinition], analysis: Option[Analysis], mapping: Option[MappingDefinition], rawSource: Option[String], waitForActiveShards: Option[Int], aliases: Set[IndexAliasRequest], settings: IndexSettings, includeTypeName: Option[Boolean])
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Value members

Concrete methods

def alias(name: String): CreateIndexRequest
def alias(name: String, filter: Query): CreateIndexRequest
def indexSetting(name: String, value: Any): CreateIndexRequest
def refreshInterval(duration: Duration): CreateIndexRequest

Convenience method for setting the 'index.refresh_interval' property on this index.

Convenience method for setting the 'index.refresh_interval' property on this index.

def refreshInterval(interval: String): CreateIndexRequest

Convenience method for setting the 'index.refresh_interval' property on this index.

Convenience method for setting the 'index.refresh_interval' property on this index.

def replicas(repls: Int): CreateIndexRequest
def settings(map: Map[String, Any]): CreateIndexRequest
def shards(shds: Int): CreateIndexRequest
def source(source: String): CreateIndexRequest

Creates an index using the json provided as is.

Creates an index using the json provided as is.

Deprecated methods

Deprecated
def analysis(analyzers: Iterable[AnalyzerDefinition], normalizers: Iterable[NormalizerDefinition]): CreateIndexRequest
Deprecated
def includeTypeName(includeTypeName: Boolean): CreateIndexRequest
Deprecated
def includeTypeName(includeTypeName: Option[Boolean]): CreateIndexRequest
Deprecated
Deprecated

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product