Class Alias
java.lang.Object
co.elastic.clients.elasticsearch.indices.Alias
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<Alias>Json deserializer forAlias -
Method Summary
Modifier and TypeMethodDescriptionfinal Queryfilter()Query used to limit documents the alias can access.final StringValue used to route indexing operations to a specific shard.final BooleanisHidden()Iftrue, the alias is hidden.final BooleanIftrue, the index is the write index for the alias.static Aliasfinal Stringrouting()Value used to route indexing and search operations to a specific shard.final StringValue used to route search operations to a specific shard.voidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidtoString()
-
Field Details
-
_DESERIALIZER
Json deserializer forAlias
-
-
Method Details
-
of
-
filter
Query used to limit documents the alias can access.API name:
filter -
indexRouting
Value used to route indexing operations to a specific shard. If specified, this overwrites theroutingvalue for indexing operations.API name:
index_routing -
isHidden
Iftrue, the alias is hidden. All indices for the alias must have the sameis_hiddenvalue.API name:
is_hidden -
isWriteIndex
Iftrue, the index is the write index for the alias.API name:
is_write_index -
routing
Value used to route indexing and search operations to a specific shard.API name:
routing -
searchRouting
Value used to route search operations to a specific shard. If specified, this overwrites theroutingvalue for search operations.API name:
search_routing -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupAliasDeserializer
-