Package org.nuxeo.ecm.core.search
Interface SearchLimitation
public interface SearchLimitation
Represents a limitation encountered while executing a search query. Enables consumers to distinguish root causes
(e.g. client unsupported vs. index mapping vs. operator not supported) and take appropriate action.
- Since:
- 2025.17
-
Method Summary
Modifier and TypeMethodDescriptionHigh-level capability affected (for backward compatibility withSearchResponse.getMissingCapabilities()).getKind()Category of limitation.Human-readable message for logging or UI.static SearchLimitationof(LimitationKind kind, SearchClient.Capability affectedCapability, String message) Creates a limitation with the given parameters.
-
Method Details
-
getKind
LimitationKind getKind()Category of limitation. -
getAffectedCapability
SearchClient.Capability getAffectedCapability()High-level capability affected (for backward compatibility withSearchResponse.getMissingCapabilities()). -
getMessage
String getMessage()Human-readable message for logging or UI. -
of
static SearchLimitation of(LimitationKind kind, SearchClient.Capability affectedCapability, String message) Creates a limitation with the given parameters.
-