This article explains how to disable indexing of the contents of binary files such as PDFs and Office documents which reduces index growth going forward. If you perform a reindex on the disabled indexes, it reduces the overall index size.

Environment

AEM 6.x

Steps

To disable indexing of PDF and Microsoft Office documents:

  1. Go to http://host:port/crx/packmgr/index.jsp and log in as admin.

  2. Upload and install the attached package.

  3. Restart AEM (this is done to free up any stuck indexing threads, if there are any).

If your overall objective is to reduce the amount of disk space consumed by indexes, then follow these extra steps:

  1. Go to http://host:port/crx/de/index.jsp and log in as admin.

  2. Browse to /oak:index/lucene.

  3. Set the reindex property to true.

  4. Browse to /oak:index/damAssetLucene.

  5. Set the reindex property to true.

  6. Click Save All. This triggers reindexing of the two indexes.

  7. Follow this article for how to monitor indexing.

  8. If you have a datastore, then run Datastore Garbage Collection.

Pobierz

Ta zawartość jest licencjonowana na warunkach licencji Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License  Posty z serwisów Twitter™ i Facebook nie są objęte licencją Creative Commons.

Informacje prawne   |   Zasady prywatności online