<?xml-stylesheet type="text/xsl" href="https://sugarclub.sugarai.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Elasticsearch Indexing Jobs in Sugar 7</title><link>/dev-club/b/dev-blog/posts/elasticsearch-indexing-jobs-in-sugar-7</link><description>In this post by Jelle Vink , SugarCRM&amp;#39;s Security Architect and resident Elasticsearch expert, offers an explanation of how the Sugar Job Scheduler and Job Queue affects Sugar 7&amp;#39;s record indexing behavior.Cron.php ExecutionWhen cron.php is execut...</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Elasticsearch Indexing Jobs in Sugar 7</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/elasticsearch-indexing-jobs-in-sugar-7</link><pubDate>Fri, 21 Jul 2017 14:09:33 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:af3d3dd1-b9b7-43ca-bfcc-6b648e0b19b2</guid><dc:creator>SugarCRM Developers</dc:creator><slash:comments>1</slash:comments><description>
&lt;p&gt;&lt;i&gt;Comment originally made by Kat.&lt;/i&gt;&lt;/p&gt;&lt;span&gt;Hi Matt,&lt;/span&gt;&lt;p&gt;I have two instances of sugarcrm that is on HA. I tried system index on the first server then on the second server but it seems that ES is only using one server. I also tried to change the unique_key in the config.php. I also setup unique cluster.name and node.name for each servers.&lt;/p&gt;&lt;p&gt;Is there a possible to setup ES on both servers so that when the other server went down, it won&amp;#39;t depend on the other server.&lt;/p&gt;&lt;p&gt;By the way, ES is installed by each server.&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=753&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Elasticsearch Indexing Jobs in Sugar 7</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/elasticsearch-indexing-jobs-in-sugar-7</link><pubDate>Thu, 13 Oct 2016 23:10:50 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:af3d3dd1-b9b7-43ca-bfcc-6b648e0b19b2</guid><dc:creator>SugarCRM Developers</dc:creator><slash:comments>1</slash:comments><description>
&lt;p&gt;&lt;i&gt;Comment originally made by Marc.&lt;/i&gt;&lt;/p&gt;&lt;span&gt;thanks for the useful article. Which make the word a better place :)&lt;/span&gt;&lt;p&gt;However, i have 2 questions:&lt;/p&gt;&lt;p&gt;After active a full re-indexing for a quite long time, i noticed that in the job_queue table, the job &amp;quot;FTSConsumer Accounts&amp;quot; has been marked as &amp;quot;done&amp;quot; and &amp;quot;success&amp;quot;, however, in the fts_queue table, there are still quite a lot accounts records left there with &amp;quot;processed&amp;quot; equals 0. Then i found those are the records that had been deleted(=1). My question is, what is sugar&amp;#39;s intention? If those are not suppose to be indexed, which i believe so, why not exclude those from put into fts_queue table at the first place?&lt;/p&gt;&lt;p&gt;Another question is about &amp;quot;$sugar_config['cron']['max_cron_jobs'] = 500;&amp;quot;. When you say add it &amp;quot;deploy/automation&amp;quot;, did you mean the live environment?&lt;/p&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=753&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Elasticsearch Indexing Jobs in Sugar 7</title><link>https://sugarclub.sugarai.com/dev-club/b/dev-blog/posts/elasticsearch-indexing-jobs-in-sugar-7</link><pubDate>Mon, 14 Sep 2015 21:31:19 GMT</pubDate><guid isPermaLink="false">5c521d64-519d-47a6-9065-134618b211bf:af3d3dd1-b9b7-43ca-bfcc-6b648e0b19b2</guid><dc:creator>SugarCRM Developers</dc:creator><slash:comments>1</slash:comments><description>
&lt;p&gt;&lt;i&gt;Comment originally made by TamW.&lt;/i&gt;&lt;/p&gt;&lt;span&gt;Thanks for this useful article.&amp;nbsp; We really struggle with no easy way for Administrators to see what&amp;#39;s in the fts_queue table after a re-index, i.e. no visual way to know that the re-index has finished successfully.&amp;nbsp; Calling on our db team to check progress frequently is not ideal. We also found that when the job for each module hits a timeout it doesn&amp;#39;t restart or seem to even make use of the retry columns in the job queue table. We had to make db changes to restart the jobs.&amp;nbsp; Admittedly some of the tables we index are huge. Combined with the fact that the full re-index job starts by clearing all the ETS index information, we&amp;#39;ve been badly caught out when when the re-indexing stops part way through ... and the global search stops working for our users!&amp;nbsp;&amp;nbsp;&amp;nbsp; We&amp;#39;ve created our own scheduled task which does not clear the already indexed data.&amp;nbsp; Would also be keen to know how to create a scheduled task that allows passing through extra parameters so that we can make one where the administrator can specify a specific module to re-index.&amp;nbsp;&amp;nbsp; We run more than one ETS server and while the config.php file takes multiple servers the Admin UI breaks that config. So we look forward to any improvements in the ETS indexing :-)&amp;nbsp;&amp;nbsp; BTW ... our users love the global search!&amp;nbsp; (although now they want us to customise the displayed results to better match their Account groupings, e.g. by region)&lt;/span&gt;
&lt;img src="https://sugarclub.sugarai.com/aggbug?PostID=753&amp;AppID=56&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>