Should we reindex all search indexes on a regular basis?

Issue

  • Should we reindex all search indexes as a regular maintenance task? If so, how often should we complete it?

Environment

  • Liferay DXP 7.0
  • Liferay DXP 7.1
  • Liferay DXP 7.2

Resolution

  • It is not necessary to perform full or partial reindex on a regular basis, as reindexing is not a regular maintenance task. The reason behind, indexable assets and other indexable resources are indexed when they are created or updated on the go.
  • Performing a full or a partial reindex is a good point to start when you are facing a search-related matter. For instance, when existing indexed users or groups are not listed in the Control Panel, or when searching indexed content does not return the content while it should.
  • Reindexing all search indexes is suggested to be executed in a timespan when the Portal is expected to see low load and number of visitors, or in a maintenance window. The reason behind, users will not find indexable assets (eg. web content articles) and other indexable resources (eg. users) until the corresponding index document is recreated. In addition, reindexing is a resource-consuming background task with a strong performance impact.
Was this article helpful?
3 out of 3 found this helpful