April 1, 2020
Estimated Post Reading Time ~

How to Improve Query Performance in Oak

Enabling a feature called CopyOnRead improves query performance in AEM 6 Oak.

In /system/console/configMgr, find the configuration for “Apache Jackrabbit Oak LuceneIndexProvider” (pid=org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService) and edit it (click on image below to see details).
This will also create a config file in /apps/system/config/org.apache.jackrabbit.oak.plugins.index.lucene.LuceneIndexProviderService.config which can be packaged (using Package Manager) and deployed (copy package to /crx-quickstart/install) to other AEM environments to perform this same config change.

From Oak 1.0.13 onwards, this behavior will be made default.


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.