Interface IndexSchemaFieldOptionsStep<S extends IndexSchemaFieldOptionsStep<?,​R>,​R>

  • Type Parameters:
    S - The "self" type (the actual exposed type of this step).
    R - The reference type.
    All Superinterfaces:
    IndexSchemaFieldFinalStep<R>
    All Known Subinterfaces:
    IndexSchemaObjectField

    public interface IndexSchemaFieldOptionsStep<S extends IndexSchemaFieldOptionsStep<?,​R>,​R>
    extends IndexSchemaFieldFinalStep<R>
    The final step in the definition of a field in the index schema, where a reference to the field can be retrieved, optionally setting some parameters beforehand.
    See Also:
    IndexSchemaFieldFinalStep
    • Method Detail

      • multiValued

        S multiValued()
        Mark the field as multi-valued.

        This informs the backend that this field may contain multiple values for a single parent document or object.

        Returns:
        this, for method chaining.