Enum Norms

java.lang.Object
java.lang.Enum<Norms>
org.hibernate.search.annotations.Norms
All Implemented Interfaces:
Serializable, Comparable<Norms>

@Deprecated public enum Norms extends Enum<Norms>
Deprecated.
Use Hibernate Search 6's text field annotations (KeywordField, FullTextField) and enable/disable norms with @FullTextField(norms = Norms.YES) instead.
Defines whether the norms should be stored in the index
Author:
Hardy Ferentschik
  • Enum Constant Details

    • YES

      public static final Norms YES
      Deprecated.
      Store norms
    • NO

      public static final Norms NO
      Deprecated.
      Do not store norms
  • Method Details

    • values

      public static Norms[] values()
      Deprecated.
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Norms valueOf(String name)
      Deprecated.
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null