In JackRabbit all the contents were indexed. However, since AEM 6, Oak has been introduced, and it doesn’t do indexing on it’s own. oak:index node has to be present/created. Queries can be avoided while rending components. There are two alternatives to this — Traversing nodes and Prefetching results. AEM allows…