Annotation Type Facet


Deprecated.
Use Hibernate Search 6's field annotations (GenericField, KeywordField, FullTextField, ...) and enable faceting with @GenericField(aggregable = Aggregable.YES) instead.
Extension annotation for @Field enabling it for faceting.
Author:
Hardy Ferentschik
Experimental
: This feature is experimental
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    Deprecated.
     
    Deprecated.
     
  • Element Details

    • name

      String name
      Deprecated.
      Returns:
      the facet name. Defaults to the name of the field this facet refers to
      Default:
      ""
    • forField

      String forField
      Deprecated.
      Returns:
      the field name this annotation refers to. It can be omitted in case there is only a single @Field annotation
      Default:
      ""