object IndexAdmin
- Alphabetic
- By Inheritance
- IndexAdmin
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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( ... ) @native() @HotSpotIntrinsicCandidate()
-
def
createOrUpdateAlias(esOptions: ElasticsearchOptions, indices: Iterable[(String, Boolean)], 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
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: 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, Boolean)], 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 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
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: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
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() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )