Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Elastic Search index is not working

SA-7562

Summary



The index search page is configured properly.
No rules or work items can be found when searching.


Error Messages



There are many instances of the following in the PegaRULES log file:
2015-03-09 20:15:40,817 [.PRPCWorkManager : 4] [ STANDARD] [ PegaRULES:07.10] ( internal.es.AbstractIndexer) WARN [email protected] - Failed to index instance with key [MYWORK W-12345]
java.lang.NullPointerException
at com.pega.pegarules.search.internal.es.WorkDocument.processAttachments(WorkDocument.java:178)
at com.pega.pegarules.search.internal.es.WorkDocument.processSpecialFields(WorkDocument.java:117)
at com.pega.pegarules.search.internal.es.AbstractDocument.getDocument(AbstractDocument.java:136)
at com.pega.pegarules.search.internal.es.AbstractIndexer.performWorkerTask(AbstractIndexer.java:733)
at com.pega.pegarules.search.internal.es.AbstractIndexer._buildIndex(AbstractIndexer.java:477)
at com.pegarules.generated.activity.ra_action_pzftsbatchindexingcoordinator_7eb128d96f0f513e2b6513abb6004938.step1_circum0(ra_action_pzftsbatchindexingcoordinator_7eb128d96f0f513e2b6513abb6004938.java:163)
at com.pegarules.generated.activity.ra_action_pzftsbatchindexingcoordinator_7eb128d96f0f513e2b6513abb6004938.perform(ra_action_pzftsbatchindexingcoordinator_7eb128d96f0f513e2b6513abb6004938.java:69)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3375)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivitiesAlt(ThreadRunner.java:641)
at com.pega.pegarules.session.internal.mgmt.base.ThreadRunner.runActivities(ThreadRunner.java:568)



Steps to Reproduce



Not Applicable.

Root Cause



The root cause of this problem is defect or misconfiguration in the PRPC operating environment. 
Dynamic System setting purpose 
indexing/distributed/search_enabled in Pega-SearchEngine is set to false.


Resolution



This issue is resolved by making the following change to the PRPC operating environment:

Set Dynamic System setting purpose  
indexing/distributed/search_enabled in Pega-SearchEngine to true.
Suggest Edit

Published March 14, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us