Interface StandardIndexFieldTypeOptionsStep<S extends StandardIndexFieldTypeOptionsStep<?,F>,F>

Type Parameters:
S - The "self" type (the actual exposed type of this step).
F - The type of field values.
All Superinterfaces:
IndexFieldTypeConverterStep<S,F>, IndexFieldTypeFinalStep<F>, IndexFieldTypeOptionsStep<S,F>, SearchableProjectableIndexFieldTypeOptionsStep<S,F>
All Known Subinterfaces:
ElasticsearchStandardIndexFieldTypeOptionsStep<S,F>, LuceneStandardIndexFieldTypeOptionsStep<S,F>, ScaledNumberIndexFieldTypeOptionsStep<S,F>, StringIndexFieldTypeOptionsStep<S>

public interface StandardIndexFieldTypeOptionsStep<S extends StandardIndexFieldTypeOptionsStep<?,F>,F> extends SearchableProjectableIndexFieldTypeOptionsStep<S,F>
The initial and final step in a "standard" index field type definition, where optional parameters can be set.

"Standard" index field types are types exposing a common set capabilities that are considered "standard", such as search or projection.

  • Method Details

    • sortable

      S sortable(Sortable sortable)
      Parameters:
      sortable - Whether this field should be sortable.
      Returns:
      this, for method chaining.
      See Also:
    • aggregable

      S aggregable(Aggregable aggregable)
      Parameters:
      aggregable - Whether aggregations are enabled for this field.
      Returns:
      this, for method chaining.
      See Also: