[ 
https://issues.apache.org/jira/browse/SLING-12879?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18113411#comment-18113411
 ] 

Julian Sedding commented on SLING-12879:
----------------------------------------

[~stejan74] I looked at the index definition in your package and at the one 
[~reschke] shared. Yours is missing the ordered function indexes for both 
{{sling:alias}} and {{sling:vanityPath}}.

Without them (in this specific case only the one for {{first([sling:alias])}}) 
the paged query will not be able to answer from the index. Pagination in that 
case will likely make matters worse.

 

> ResourceResolver: add option to run alias initializer in background
> -------------------------------------------------------------------
>
>                 Key: SLING-12879
>                 URL: https://issues.apache.org/jira/browse/SLING-12879
>             Project: Sling
>          Issue Type: Sub-task
>          Components: ResourceResolver
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Major
>             Fix For: Resource Resolver 1.12.12, Resource Resolver 2.0.2
>
>         Attachments: image-2026-09-08-13-34-48-536.png, 
> image-2026-09-08-13-55-36-085.png, log-analyse-aem-vostra.json, 
> resourceresolver-index-1.0.zip, slingResourceResolver-3.10.json
>
>
> This will add that option, but keep it disabled.
> For now it will only be tested in unit tests.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to