Enum Class ESearchOrderE

java.lang.Object
java.lang.Enum<ESearchOrderE>
de.elo.ix.client.esearch.ESearchOrderE
All Implemented Interfaces:
Serializable, Comparable<ESearchOrderE>, Constable

public enum ESearchOrderE extends Enum<ESearchOrderE> implements Serializable
Sort options for ElasticSearch.
Since:
10.99.999.022
  • Enum Constant Details

    • IDATE_DESC

      public static final ESearchOrderE IDATE_DESC
      Sort by internal (archive defined) date, descending
      See Also:
    • IDATE_ASC

      public static final ESearchOrderE IDATE_ASC
      Sort by internal (archive defined) date, ascending
      See Also:
    • XDATE_DESC

      public static final ESearchOrderE XDATE_DESC
      Sort by external (user defined) date, descending
      See Also:
    • XDATE_ASC

      public static final ESearchOrderE XDATE_ASC
      Sort by external (user defined) date, ascending
      See Also:
    • ALPHA_DESC

      public static final ESearchOrderE ALPHA_DESC
      Sort by title, descending
      See Also:
    • ALPHA_ASC

      public static final ESearchOrderE ALPHA_ASC

      Sort by title, ascending

      See Also:
    • TSTAMP_DESC

      public static final ESearchOrderE TSTAMP_DESC

      Sort by last change, descending

      Value is not always synchronized with DB because Sord.TStamp is updated by changes not relevant for iSearch.

      See Also:
    • TSTAMP_ASC

      public static final ESearchOrderE TSTAMP_ASC

      Sort by last change, ascending

      Value is not always synchronized with DB because Sord.TStamp is updated by changes not relevant for iSearch.

      See Also:
    • RELEVANCE

      public static final ESearchOrderE RELEVANCE
      Sort by relevance of sords, calculated by ElasticSearc, descending
  • Method Details

    • values

      public static ESearchOrderE[] 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 ESearchOrderE 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