Annotation Type DistanceProjection


@Documented @Target(PARAMETER) @Retention(RUNTIME) @MethodParameterMapping(processor=@MethodParameterMappingAnnotationProcessorRef(type=org.hibernate.search.mapper.pojo.mapping.definition.annotation.processing.impl.DistanceProjectionProcessor.class,retrieval=CONSTRUCTOR)) public @interface DistanceProjection
Maps a constructor parameter to a distance projection, i.e. sequences of text that matched the query, extracted from the given field's value.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description