object IndexAdmin
- Source
- IndexAdmin.scala
- Alphabetic
- By Inheritance
- IndexAdmin
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def createOrUpdateAlias(esOptions: ElasticsearchOptions, indices: Iterable[(String, Boolean)], alias: String, removePrevious: Boolean, timeout: Time): Try[UpdateAliasesResponse]
Add or update index alias with an option to remove the alias from all other indexes if it is already pointed to any.
Add or update index alias with an option to remove the alias from all other indexes if it is already pointed to any. If index already exists or some other error occurs this results in a scala.util.Failure.
- indices
Iterable of pairs (index, isWriteIndex) to point the alias to. Note: only one index can be assigned as write index.
- alias
to be re-assigned
- removePrevious
When set to true, the indexAlias would be removed from all indices it was assigned to before adding new index alias assignment
- def createOrUpdateAlias(esOptions: ElasticsearchOptions, alias: String, index: String, removePrevious: Boolean, timeout: Time): Try[UpdateAliasesResponse]
Add index alias with an option to remove the alias from all other indexes if it is already pointed to any.
Add index alias with an option to remove the alias from all other indexes if it is already pointed to any. If index already exists or some other error occurs this results in a scala.util.Failure.
- alias
to be re-assigned
- index
index to point the alias to
- removePrevious
When set to true, the indexAlias would be removed from all indices it was assigned to before adding new index alias assignment.
- def ensureIndex(esOptions: ElasticsearchOptions, index: String, typeMappings: TypeMapping): Try[CreateIndexResponse]
Ensure that index is created.
Ensure that index is created. If index already exists or some other error occurs this results in a scala.util.Failure.
- index
index to be created
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def removeIndex(esOptions: ElasticsearchOptions, index: String, timeout: Time): Try[DeleteIndexResponse]
Delete index
Delete index
- index
to be deleted
- timeout
defaults to 1 minute
- returns
Failure or unacknowledged response if operation did not succeed
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()