You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Julian Reschke (Jira)" <ji...@apache.org> on 2023/09/01 13:20:00 UTC
[jira] [Created] (SLING-12017) resource resolver: add fallback when paged query fails due to missing index
Julian Reschke created SLING-12017:
--------------------------------------
Summary: resource resolver: add fallback when paged query fails due to missing index
Key: SLING-12017
URL: https://issues.apache.org/jira/browse/SLING-12017
Project: Sling
Issue Type: Bug
Components: ResourceResolver
Reporter: Julian Reschke
Fix For: Resource Resolver 1.10.2
When the underlying repo supports the "first" operator, but the appropiate index is missing, the query might fail with an UnspportedOperationException, even though it might have suceeded without paging.
Therefore, catch that exception and fallback to simple query.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)