Annotation Interface HighlightParameters


@Documented @Retention(RUNTIME) public @interface HighlightParameters
Since:
4.0
Author:
Peter-Josef Meisch, Haibo Liu
  • Element Details

    • boundaryChars

      String boundaryChars
      Default:
      ""
    • boundaryMaxScan

      int boundaryMaxScan
      Default:
      -1
    • boundaryScanner

      String boundaryScanner
      Default:
      ""
    • boundaryScannerLocale

      String boundaryScannerLocale
      Default:
      ""
    • encoder

      String encoder
      only used for Highlights.
      Default:
      ""
    • forceSource

      boolean forceSource
      Default:
      false
    • fragmenter

      String fragmenter
      Default:
      ""
    • fragmentOffset

      int fragmentOffset
      only used for HighlightFields.
      Default:
      -1
    • fragmentSize

      int fragmentSize
      Default:
      -1
    • matchedFields

      String[] matchedFields
      only used for HighlightFields.
      Default:
      {}
    • noMatchSize

      int noMatchSize
      Default:
      -1
    • numberOfFragments

      int numberOfFragments
      Default:
      -1
    • highlightQuery

      Query highlightQuery
      Default:
      @org.springframework.data.elasticsearch.annotations.Query
    • order

      String order
      Default:
      ""
    • phraseLimit

      int phraseLimit
      Default:
      -1
    • preTags

      String[] preTags
      Default:
      {}
    • postTags

      String[] postTags
      Default:
      {}
    • requireFieldMatch

      boolean requireFieldMatch
      Default:
      true
    • tagsSchema

      String tagsSchema
      only used for Highlights.
      Default:
      ""
    • type

      String type
      Default:
      ""