Class AliasDefinition.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • indexRouting

        @Nonnull
        public final AliasDefinition.Builder indexRouting​(@Nullable
                                                          java.lang.String value)
        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

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

        API name: is_hidden

      • isWriteIndex

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

        API name: is_write_index

      • routing

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

        API name: routing

      • searchRouting

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

        API name: search_routing