Class AliasDefinition

    • Method Detail

      • filter

        @Nullable
        public final Query filter()
        API name: filter
      • indexRouting

        @Nullable
        public final java.lang.String indexRouting()
        Value used to route indexing operations to a specific shard. If specified, this overwrites the routing value for indexing operations.

        API name: index_routing

      • isHidden

        @Nullable
        public final java.lang.Boolean isHidden()
        If true, the alias is hidden. All indexes for the alias must have the same is_hidden value.

        API name: is_hidden

      • isWriteIndex

        @Nullable
        public final java.lang.Boolean isWriteIndex()
        If true, the index is the write index for the alias.

        API name: is_write_index

      • routing

        @Nullable
        public final java.lang.String routing()
        Value used to route indexing and search operations to a specific shard.

        API name: routing

      • searchRouting

        @Nullable
        public final java.lang.String searchRouting()
        Value used to route search operations to a specific shard. If specified, this overwrites the routing value for search operations.

        API name: search_routing

      • serialize

        public void serialize​(jakarta.json.stream.JsonGenerator generator,
                              JsonpMapper mapper)
        Serialize this object to JSON.
        Specified by:
        serialize in interface JsonpSerializable
      • serializeInternal

        protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator,
                                         JsonpMapper mapper)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object