java.lang.Object
java.lang.Enum<IOStrategyName>
org.hibernate.search.backend.lucene.lowlevel.index.IOStrategyName
All Implemented Interfaces:
Serializable, Comparable<IOStrategyName>

public enum IOStrategyName extends Enum<IOStrategyName>
  • Enum Constant Details

    • NEAR_REAL_TIME

      public static final IOStrategyName NEAR_REAL_TIME
      The default, near-real-time strategy, where index readers are based on the index writer to get up-to-date search results, the index writer is committed periodically.
    • DEBUG

      public static final IOStrategyName DEBUG
      A simple, low-performance strategy mainly useful for debugging, where index readers are created on each search query execution and the index writer is committed after each write.
  • Method Details

    • values

      public static IOStrategyName[] values()
      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 IOStrategyName valueOf(String name)
      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
    • of

      public static IOStrategyName of(String value)