Issue
Reindexing is stuck and unavailable. The Search nodes are not displayed on the Search landing page on Pega Platform.
Symptoms and Impact
User encounters the following PegaRULES logs:
[il INITIALIZE_SEARCH] [ STANDARD] [ ] [ ] (artup.SearchInitializationTask) INFO - This system is configured to use deprecated Search functionality. Please migrate to the enhanced capabilities. See https://pdn.pega.com/documents/pega-717-upgrade-guide for details
Steps to Reproduce
- Re-index an index or a dedicated index on the Search landing page.
- Create a new dedicated index.
Root Cause
As per the logs, Lucene search is getting enabled and embedded Elastic search is not getting initialized due to the following DSS set to False:
- indexing/distributed/enabled
Solution
Perform the following steps:
- Set the following DSS to True in the affected environment:
indexing/distributed/enabled - Stop all the Search nodes.
- Start the nodes one after the other.
- Verify the behavior.
Reference
Rebuilding search indexes from the user interface
Configuring dynamic system settings for search
Rebuilding search indexes from the user interface
Creating a dynamic system setting
Best practices for reindexing data
Information about Search indexing DSS