Question
VirtusaPolaris
IN
Last activity: 31 Aug 2017 20:47 EDT
Disabling both Lucene and Elastic Search in Production
We are planning to disable both the Lucene search as well as Elastic Search in Production as we don't require it. My query is if we just disable the "Enable Indexing, All Rules, All Data and All Work" in the System: Settings -> Search landing page is enough or still should I go ahead and disable the FTSIncrementalIndexer agent as well? Should I still worry about SystemIndexer and SystemWorkIndexer Agents as well? Bec I think The Pega-Rules Agent is of FINAL type.
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Pegasystems Inc.
IN
Hi Ananth,
indexing/distributed/enabled should also be set to false, else elastic search would be running (in the server) though no indexing would happen . Once this is set server need to be restarted in-order to stop ES node from starting.
SystemWorkIndexer should be left enabled, but FTSIncrementalIndexer and SystemIndexer could be disabled.
-
Vladimir Taran
VirtusaPolaris
IN
Thanks for your reply Othos. I'll set the indexing/distributed/enabled DSS to false.
But the Pega-Rules Agent is final right. Hence I may not be able to disable the SystemIndexer Agent. I think the only possible way is to disable the Schedule but it is not possible because there are many nodes in Prod. Should we really consider disabling the Agents (FTSIncrementalIndexer and SystemIndexer )? Or mere disabling the above DSS and "Enable Indexing" in Search tab is enough?
Intellativ
US
Hello,
I'm working on disabling elastic search on prod nodes. Is there a benefit in setting the Pega-Searchengine/indexing DASS to false and still keep Indexing Enabled on System:settings -> search ?
Intellativ
US
Hello,
What's the reason for leaving SystemWorkIndexer enabled? when you stop whole indexing and full text search on the system, how does this agent run ? I'm seeing the exception below, when I disabled FTSIncrementalIndexer ,SystemIndexer and enable just SystemWorkIndexer so I believe running this agent is not required.
Agent Pega-RULES #5: System-Work-Indexer.SystemWorkIndexer encountered an execution error. Restarting after delay. Exception at 20170901T003221.094 GMT: java.lang.NullPointerException at com.pega.pegarules.session.internal.mgmt.Executable.runIncrementalIndexer(Executable.java:11062) at com.pegarules.generated.activity.ra_action_systemworkindexer_fff8383320e9fddc873150b930f50b95.step1_circum0(ra_action_systemworkindexer_fff8383320e9fddc873150b930f50b95.java:161) at com.pegarules.generated.activity.ra_action_systemworkindexer_fff8383320e9fddc873150b930f50b95.perform(ra_action_systemworkindexer_fff8383320e9fddc873150b930f50b95.java:69) at
Intellativ
US
Additional information - I believe SystemIndexer is obsolete and FTSIncrementalIndexer replaced it. So the discussion should be on....after full text search is disabled on your system using DASS(indexing/distributed/....) - should both FTSIncrementalIndexer and SystemWorkIndexer agents still run ? thanks
Pegasystems Inc.
IN
Hi Ananth,
You can stop the agents via SMA.
But you can leave the agent as it is. Disabling the above DSS is enough.
VirtusaPolaris
IN
Cool. I did that but the normal search is not working fine. The moment i disable the "Enable Indexing" check box in the System: Settings landing page, the search is not working as normal (along with the old: keyword as well). It is giving the same results for everything. Am I missing something? Please find attached image for an example search and the settings.
Pegasystems Inc.
IN
Hi, I didn't get your use-case; you want to disable lucene and elastic but still want to search ?
indexing/enabled are master settings which will control whether search would be available. Hence when the settings are disabled, you wont be able to perform search as well. Probably if you could tell us your exact use-case i.e. you still want to search against database, we can help
VirtusaPolaris
IN
We just need to disable the indexing part as the tables PR_SYS_WORKINDEXER_QUEUE and PR_SYS_QUEUE_FTSINDEXER are growing a lot in Production. Hence we thought of disabling the search index. But still we need to search for rules in Production without using the indexing mechanism.As per my understanding, disabling the indexing should not affect the search of rules only that the call will go to the DB direclty instead of the indexed location.
Pegasystems Inc.
IN
Ok in that case, I would recommend the following (Turn on all the settings from landing page and change the below dynamic system settings)
indexing/distributed/enabled = true
indexing/distributed/index_enabled = false
indexing/distributed/search_enabled = false
Once the above is done, you can use old:<search string> to route the calls to the database.
VirtusaPolaris
IN
As per our analysis, there seems some issue in the Pega OOTB code. The search doesn't work when we disable the indexing. We may raise a ticket to fix it. Thanks.
Tata Consultancy Services
US
Hi Bommn,
Did you try disabling the agents FTSIncrementalIndexer and SystemWorkIndexer through SMA.
VirtusaPolaris
IN
As per our analysis, there seems some issue in the Pega OOTB code. The search doesn't work when we disable the indexing. We may raise a ticket to fix it. Thanks.
Pegasystems Inc.
IN
Hi Ananth,
Ok.Please raise an SR for the same.
Pegasystems Inc.
IN
Hello!
Please let us know if you do log an SR for this and its ID. That way we can track it and follow-up this discussion with the resolution.
Regards,
Lochan | Community Moderator | Pegasystems Inc.