Class CompletionProperty

All Implemented Interfaces:
PropertyVariant, JsonpSerializable

@JsonpDeserializable
public class CompletionProperty
extends DocValuesPropertyBase
implements PropertyVariant
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static CompletionProperty of​(java.util.function.Function<CompletionProperty.Builder,​ObjectBuilder<CompletionProperty>> fn)
    • _propertyKind

      public Property.Kind _propertyKind()
      Property variant kind.
      Specified by:
      _propertyKind in interface PropertyVariant
    • analyzer

      @Nullable public final java.lang.String analyzer()
      API name: analyzer
    • contexts

      public final java.util.List<SuggestContext> contexts()
      API name: contexts
    • maxInputLength

      @Nullable public final java.lang.Integer maxInputLength()
      API name: max_input_length
    • preservePositionIncrements

      @Nullable public final java.lang.Boolean preservePositionIncrements()
      API name: preserve_position_increments
    • preserveSeparators

      @Nullable public final java.lang.Boolean preserveSeparators()
      API name: preserve_separators
    • searchAnalyzer

      @Nullable public final java.lang.String searchAnalyzer()
      API name: search_analyzer
    • serializeInternal

      protected void serializeInternal​(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Overrides:
      serializeInternal in class DocValuesPropertyBase
    • setupCompletionPropertyDeserializer

      protected static void setupCompletionPropertyDeserializer​(ObjectDeserializer<CompletionProperty.Builder> op)