CreateIndexRequest

com.sksamuel.elastic4s.requests.indexes.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])

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

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.

Attributes

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.

Attributes

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.

Attributes

Deprecated methods

Attributes

Deprecated
true
def analysis(analyzers: Iterable[AnalyzerDefinition]): CreateIndexRequest

Attributes

Deprecated
true
def analysis(analyzers: Iterable[AnalyzerDefinition], normalizers: Iterable[NormalizerDefinition]): CreateIndexRequest

Attributes

Deprecated
true
def includeTypeName(includeTypeName: Boolean): CreateIndexRequest

Attributes

Deprecated
true
def includeTypeName(includeTypeName: Option[Boolean]): CreateIndexRequest

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true
def normalizers(normalizers: Iterable[NormalizerDefinition]): CreateIndexRequest

Attributes

Deprecated
true

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product