Enum Class LimitationKind

java.lang.Object
java.lang.Enum<LimitationKind>
org.nuxeo.ecm.core.search.LimitationKind
All Implemented Interfaces:
Serializable, Comparable<LimitationKind>, Constable

public enum LimitationKind extends Enum<LimitationKind>
Category of search limitation. Enables consumers to distinguish root causes and take appropriate action.
Since:
2025.17
  • Enum Constant Details

    • UNSUPPORTED

      public static final LimitationKind UNSUPPORTED
      Client does not support this capability (e.g. aggregate type sum, highlight, multi-repositories). The message provides the detail.
    • INDEX_MAPPING

      public static final LimitationKind INDEX_MAPPING
      Index mapping does not support the requested operation (e.g. field not found, missing lowercase mapping for ILIKE).
    • OPERATOR_NOT_SUPPORTED

      public static final LimitationKind OPERATOR_NOT_SUPPORTED
      Specific operator not supported for this field (e.g. STARTSWITH only on ecm:path).
  • Method Details

    • values

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