SugarCRM 7 - Fix to re-enable ElasticSearch on custom modules
Thu 18 September 2014
I had an issue in Sugar where some custom modules refused to appear in the Global Search settings, meaning I couldn't index them in ElasticSearch.
When I checked the module oddly enough unified search would be enabled in this file:
1. Re-enable the module
To force it to be re-enabled update/create this file
and add this setting.
$dictionary['<YourCustomModule>']['unified_search'] = true;
2. Re-enable a field
You'll also need a field using the unified index before SugarCRM will pick up the unified_search setting. So under:
Enable unfied_search as a setting.
After a quick repair/rebuild. My module appears in the Global Search Settings and I can poll it as normal through ElasticSearch.