Problem:
We saw an issue where after a big package install, the Querybuilder stopped returning pages results under language-masters/en. The pages were there in AEM but for some reason, the Querybuilder API kept returning 0 results
Approach:
After a thorough investigation, we figured that it was not a code issue as it was working for other languages. Our final theory was that the Oak index was not getting updated.
Solution:
We forced AEM to reindex Pages and Tags using the following steps.
- Open CRXDE Lite
- Go to /oak:index/cqPageLucene
- Change the reindex property from false to true
- Click Save All
Repeat the steps for /oak:index/ntBaseLucene