case class CreateIndexRequest(name: String, _analysis: Option[AnalysisDefinition] = None, analysis: Option[Analysis] = None, mapping: Option[MappingDefinition] = None, rawSource: Option[String] = None, waitForActiveShards: Option[Int] = None, aliases: Set[IndexAliasRequest] = Set.empty, settings: IndexSettings = new IndexSettings, includeTypeName: Option[Boolean] = None) extends Product with Serializable

Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CreateIndexRequest
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new CreateIndexRequest(name: String, _analysis: Option[AnalysisDefinition] = None, analysis: Option[Analysis] = None, mapping: Option[MappingDefinition] = None, rawSource: Option[String] = None, waitForActiveShards: Option[Int] = None, aliases: Set[IndexAliasRequest] = Set.empty, settings: IndexSettings = new IndexSettings, includeTypeName: Option[Boolean] = None)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def alias(definition: IndexAliasRequest): CreateIndexRequest
  5. def alias(name: String, filter: Query): CreateIndexRequest
  6. def alias(name: String): CreateIndexRequest
  7. val aliases: Set[IndexAliasRequest]
  8. def analysis(analysis: Analysis): CreateIndexRequest
  9. val analysis: Option[Analysis]
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. val includeTypeName: Option[Boolean]
  15. def indexSetting(name: String, value: Any): CreateIndexRequest
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def mapping(mapping: MappingDefinition): CreateIndexRequest
  18. val mapping: Option[MappingDefinition]
  19. val name: String
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  23. def productElementNames: Iterator[String]
    Definition Classes
    Product
  24. val rawSource: Option[String]
  25. def refreshInterval(interval: String): CreateIndexRequest

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

  26. def refreshInterval(duration: Duration): CreateIndexRequest

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

  27. def replicas(repls: Int): CreateIndexRequest
  28. def settings(map: Map[String, Any]): CreateIndexRequest
  29. val settings: IndexSettings
  30. def shards(shds: Int): CreateIndexRequest
  31. def singleReplica(): CreateIndexRequest
  32. def singleShard(): CreateIndexRequest
  33. def source(source: String): CreateIndexRequest

    Creates an index using the json provided as is.

  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  36. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. def waitForActiveShards(shards: Int): CreateIndexRequest
  39. val waitForActiveShards: Option[Int]

Deprecated Value Members

  1. val _analysis: Option[AnalysisDefinition]
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.1) use the new analysis package

  2. def analysis(analyzers: Iterable[AnalyzerDefinition], normalizers: Iterable[NormalizerDefinition]): CreateIndexRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.1) use the new analysis package

  3. def analysis(analyzers: Iterable[AnalyzerDefinition]): CreateIndexRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.1) use the new analysis package

  4. def analysis(first: AnalyzerDefinition, rest: AnalyzerDefinition*): CreateIndexRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.1) use the new analysis package

  5. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  6. def includeTypeName(includeTypeName: Option[Boolean]): CreateIndexRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.0) types are deprecated

  7. def includeTypeName(includeTypeName: Boolean): CreateIndexRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.0) types are deprecated

  8. def mappings(mapping: MappingDefinition): CreateIndexRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 8.0.0) use mapping

  9. def normalizers(normalizers: Iterable[NormalizerDefinition]): CreateIndexRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.1) use the new analysis package

  10. def normalizers(first: NormalizerDefinition, rest: NormalizerDefinition*): CreateIndexRequest
    Annotations
    @deprecated
    Deprecated

    (Since version 7.0.1) use the new analysis package

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped