a↗agentbay.Get AgentBay
My account ▾
Menu
Back to results

tuning-oak-query-indexes

AEM Cloud Service expert skill — check a JCR/Oak query is actually served by an index and, when it is not, propose the property/Lucene index-definition change so the query is answered by the index instead of in-memory filtering or sorting. Use for "query is slow", "traversal warning", "is my query indexed", "tune oak index", or a scan that flags a…

Full publisher description

AEM Cloud Service expert skill — check a JCR/Oak query is actually served by an index and, when it is not, propose the property/Lucene index-definition change so the query is answered by the index instead of in-memory filtering or sorting. Use for "query is slow", "traversal warning", "is my query indexed", "tune oak index", or a scan that flags a JCR/QueryBuilder query. The analyzer locates every query-construction site (createQuery, getQueryManager, Sling findResources / queryResources, PredicateGroup.create / new PredicateGroup); the recipe assesses each flagged query against the supplied index definition(s). Resolution is user-supplied: the index definition(s) are required input — if none is provided the whole pattern is deferred, never guessed. Guided fix — the developer reviews and applies the proposed index change; never auto-apply.

Source details

Read SKILL.md ↗ · Browse skill folder ↗

adobe/skills

plugins/aem/cloud-service/skills/code-assessment/tuning-oak-query-indexes/SKILL.md

Pinned revision 3d5317db858fd02a74a8118bd9d6145c94cf404e

Source checked

This skill page is available in English. Publisher instructions stay in their original language.