Annotation Interface HighlightField


@Documented @Retention(RUNTIME) public @interface HighlightField
Since:
4.0
Author:
Peter-Josef Meisch
  • Element Details

    • name

      String name
      The name of the field to apply highlighting to. This must be the field name of the entity's property, not the name of the field in the index mappings.
      Default:
      ""
    • parameters

      Default:
      @org.springframework.data.elasticsearch.annotations.HighlightParameters