Enum Class TermVector

java.lang.Object
java.lang.Enum<TermVector>
org.infinispan.api.annotations.indexing.option.TermVector
All Implemented Interfaces:
Serializable, Comparable<TermVector>, Constable

public enum TermVector extends Enum<TermVector>
Defines the term vector storing strategy.

Simplified version for Infinispan of TermVector

Since:
14.0
  • Enum Constant Details

    • YES

      public static final TermVector YES
      Store term vectors.
    • NO

      public static final TermVector NO
      Do not store term vectors.
    • WITH_POSITIONS

      public static final TermVector WITH_POSITIONS
      Store the term vectors. Also store token positions into the term.
    • WITH_OFFSETS

      public static final TermVector WITH_OFFSETS
      Store the term vectors. Also store token character offsets into the term.
    • WITH_POSITIONS_OFFSETS

      public static final TermVector WITH_POSITIONS_OFFSETS
      Store the term vectors. Also store token positions and token character offsets into the term.
    • WITH_POSITIONS_PAYLOADS

      public static final TermVector WITH_POSITIONS_PAYLOADS
      Store the term vectors. Also store token positions and token payloads into the term.
    • WITH_POSITIONS_OFFSETS_PAYLOADS

      public static final TermVector WITH_POSITIONS_OFFSETS_PAYLOADS
      Store the term vectors. Also store token positions, token character offsets and token payloads into the term.
  • Method Details

    • values

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

      public static TermVector valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null