Annotation Interface HighlightProjection
@Documented
@Target(PARAMETER)
@Retention(RUNTIME)
@MethodParameterMapping(processor=@MethodParameterMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.HighlightProjectionProcessor.class,retrieval=CONSTRUCTOR))
public @interface HighlightProjection
Maps a constructor parameter to a projection to highlights,
i.e. sequences of text that matched the query, extracted from the given field's value.
- See Also:
-
Optional Element Summary
Optional Elements
-
Element Details
-
path
-
highlighter
String highlighter- Returns:
- The name of a highlighter
defined on the query. Defaults to the default (unnamed) highlighter. - See Also:
- Default:
""
-