Querybuilder returning zero results

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.

  1. Open CRXDE Lite
  2. Go to /oak:index/cqPageLucene
  3. Change the reindex property from false to true
  4. Click Save All

Repeat the steps for /oak:index/ntBaseLucene

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply

Your email address will not be published. Required fields are marked *