forked from htuscher/solr_universal_boost
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathext_localconf.php
40 lines (32 loc) · 1.63 KB
/
ext_localconf.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<?php
if (!defined('TYPO3_MODE')) {
die ('Access denied.');
}
use TYPO3\CMS\Core\Utility\ExtensionManagementUtility;
/**
* BE Ajax function
*/
$GLOBALS['TYPO3_CONF_VARS']['BE']['AJAX']['tx_solr_universal_boost::getTerms'] = [
'callbackMethod' => ExtensionManagementUtility::extPath('solr_universal_boost') .
'Classes/Service/Backend/KeywordService.php:HHoechtl\SolrUniversalBoost\Service\Backend\KeywordService->ajaxGetTerms',
'csrfTokenCheck' => false
];
/*
* XClasses
*/
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']['Tx_Solr_ResultDocumentModifier_ScoreAnalyzer'] = array(
'className' => 'HHoechtl\\SolrUniversalBoost\\Xclass\\ScoreAnalyzer_Advanced',
);
/**
* Hooks
*/
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] =
'EXT:solr_universal_boost/Classes/Hooks/Tcemain/StoreBoostKeywords.php:HHoechtl\SolrUniversalBoost\Hooks\Tcemain\StoreBoostKeywords';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['IndexQueueIndexer']['preAddModifyDocuments'][] =
'EXT:solr_universal_boost/Classes/Hooks/Solr/IndexQueue/DocumentModifier/IndexBoostKeywords.php:HHoechtl\SolrUniversalBoost\Hooks\Solr\IndexQueue\DocumentModifier\IndexBoostKeywords';
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['solr']['Indexer']['indexPageSubstitutePageDocument'][] =
'EXT:solr_universal_boost/Classes/Hooks/Solr/PageIndexer/IndexPageSubstituteKeywords.php:HHoechtl\SolrUniversalBoost\Hooks\Solr\PageIndexer\IndexPageSubstituteKeywords';
/**
* eID Dispatcher
*/
$TYPO3_CONF_VARS['FE']['eID_include']['ajaxDispatcher'] = ExtensionManagementUtility::extPath('solr_universal_boost').'Classes/EidDispatcher.php';