object IndexAdmin
- 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], alias: String, removePrevious: Boolean, timeout: TimeValue): Try[AcknowledgedResponse]
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
indices to point the alias to
- 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: TimeValue): Try[AcknowledgedResponse]
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 createOrUpdateAlias(client: IndicesAdminClient, indices: Iterable[String], alias: String, removePrevious: Boolean, timeout: TimeValue): AcknowledgedResponse
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.
- indices
Iterable of indicies to point the alias to
- 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 ensureIndex(esOptions: ElasticsearchOptions, index: String, mappingSource: String): 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
- mappingSource
a valid json string
- def ensureIndex(cluster: String, servers: Iterable[InetSocketAddress], index: String, mappingSource: String): 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
- mappingSource
a valid json string
- 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()
- 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()