Annotation Interface CompletionField


@Retention(RUNTIME) @Target({FIELD,ANNOTATION_TYPE}) @Documented @Inherited public @interface CompletionField
Based on the reference doc - https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html
Author:
Mewes Kochheim, Robert Gruendler, Peter-Josef Meisch
  • Element Details

    • searchAnalyzer

      String searchAnalyzer
      Default:
      "simple"
    • analyzer

      String analyzer
      Default:
      "simple"
    • preserveSeparators

      boolean preserveSeparators
      Default:
      true
    • preservePositionIncrements

      boolean preservePositionIncrements
      Default:
      true
    • maxInputLength

      int maxInputLength
      Default:
      50
    • contexts

      CompletionContext[] contexts
      Default:
      {}