Legacy Knowledge Base
Published Jul. 2, 2025

Indexing is taking too long

Written By

Ricardo Couso

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • Reindexing is taking or has taken too long to finish.

Environment

  • Liferay DXP 7.0+

Resolution

  • If reindexing is deemed slow or is still ongoing (the 2-arrow icon can be seen at the top right), it may have gotten stuck. This can be checked in the following ways:
  • Indexing can take longer than expected if the JVM's Garbage Collector process is taking up much of the memory. 
  • Indexing can also take a long time if the amount of data to index is large. Consider the following configurations to reduce it:
    • The portal property dl.file.indexing.max.size controls how much of a document is indexed. A small value will lead to faster indexing but can result in missing hits when searching.
    • The portal property dl.file.indexing.ignore.extensions controls which file extensions are ignored when indexing. 
    • There's a system setting to ensure that only the latest versions of web content are indexed. To set it go to Control Panel > Configuration > System Settings > Web Content > VIRTUAL INSTANCE SCOPE > Web Content > Index All Article Versions Enabled.
      • This action requires reindexing the web contents (JournalArticle).

Additional Information

Did this article resolve your issue ?

Legacy Knowledge Base