Support Article
FTS Incremental Indexer Not Picking Items Up
SA-51786
Summary
When manually running a reindex of both Work and Data, all the information is retrieved. However, items added in the Full Text Search (FTS) Incremental Indexer queue are not processed. Newly modified and created items are not indexed and are unavailable for search by users.
Error Messages
Not Applicable
Steps to Reproduce
- Configure FTS on multiple nodes.
- Enable FTS Incremental Indexer agent on all the nodes.
Root Cause
A defect or configuration issue in the operating environment. Enable debug on com.pega.pegarules.search.internal.es.DistributedIndexerAgent to view the following messages:
[PegaRULES-Batch-2] [STANDARD] [ ] [PegaRULES:07.10] (nal.es.DistributedIndexerAgent) DEBUG - Full text search cluster health is in RED state. Possible reason(s): Shards are still initializing.
FTSIncrementalIndexer was unable to write to the index because the node and directory configuration had reverted to the data that was incorrect after a previous recycle.
Resolution
Perform the following local-change:
- Modify the directory to the correct location on the active system.
- Shut everything down.
- Delete the indexed data.
- Rebuild.
-Dindex.directory=your_index_directory
For nodes that need not host indexes, add the above setting, but do not provide a value.
Published November 29, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.