AEM repository search returns no results with DITA Map or Topic filters after migration
This article explains how to resolve an issue in Adobe Experience Manager (AEM) where repository searches with DITA Map or Topic filters return no results after migrating to a new AEM instance. The solution involves reindexing the damAssetLucene index.
Description description
Environment
- Adobe Experience Manager 6.5 LTS on-premises
- AEM Guides DITA Map and Topic repository search
- AEM Assets repository indexed by
damAssetLucene
Issue/Symptoms
- After you migrate to a new AEM instance, repository searches with DITA Map or DITA Topic filters return no results.
- Searches without those filters return results as expected.
- The issue affects the environments migrated with the new instance.
- No specific error message is displayed.
Cause
In the reported migration scenario, the damAssetLucene index is stale or incomplete, so filtered repository searches don’t return the expected results. Reindexing can address this condition when the index state confirms that it is needed.
Resolution resolution
Follow the steps below to resolve the issue:
-
Sign in to the AEM Author instance as an administrator.
-
Check the
damAssetLuceneindex status in the Oak Index Manager or its IndexStats MBean. For the MBean, use the JMX URL patternhttp://<host>:<port>/system/console/jmx/compositeData/org.apache.jackrabbit.oak%3Aname%3DdamAssetLucene%2Ctype%3DIndexStats. Replace<host>and<port>with your AEM instance values. -
Before reindexing, confirm that the
damAssetLuceneindex is stale or incomplete and that the repository search query and DITA filters are correct. -
If the index state confirms that reindexing is needed, set the
reindexproperty for/oak:index/damAssetLucenetotruein CRX/DE Lite:- Open CRX/DE Lite at
http://<host>:<port>/crx/de. - Browse to
/oak:index/damAssetLucene. - Set the Boolean
reindexproperty totrue. - Save the change.
Note: Reindexing traverses repository content and can take several hours or longer, depending on repository size. It can consume significant resources; perform it during a low-activity or approved maintenance period.
- Open CRX/DE Lite at
-
Monitor the index status in the Oak Index Manager or IndexStats MBean. Confirm that reindexing completes and the
reindexproperty returns tofalse. -
After reindexing completes, test repository searches with DITA Map and DITA Topic filters enabled and disabled. Confirm that filtered searches return the expected results and unfiltered searches continue to work.
-
Repeat the index-state check, reindexing, monitoring, and search validation for each other affected AEM environment.