Source of file _config.php
Size: 0,671 Bytes - Last Modified: 2021-12-23T10:34:35+00:00
/var/www/docs.ssmods.com/process/src/_config.php
123456789101112131415161718192021 | <?php // Add to mysite/_config.php /* DataObject::add_extension('SiteTree', 'SolrIndexable'); Object::add_extension('Page_Controller', 'SolrSearchExtension'); */ // To enable faceting, you need to specify which fields should be available // SolrSearch::$facets = array ('AlcKeywords_ms', 'AlcPerson_ms', 'AlcCompany_ms', 'AlcOrganization_ms'); // You will also need to specify a solr configuration if your solr application is on a different host:port than // the default // SolrSearchService::$solr_details = array(); if (($solr_module_dir = basename(dirname(__FILE__))) != 'solr') { exit("The solr module must be installed in /solr, not in $solr_module_dir"); } |