CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Public Member Functions | |
__construct (HookContainer $hookContainer) | |
onCirrusSearchRegisterFullTextQueryClassifiers (Parser\ParsedQueryClassifiersRepository $repository) | |
onCirrusSearchAddQueryFeatures (SearchConfig $config, array &$extraFeatures) | |
This hook is called to register new search keywords. | |
onCirrusSearchSimilarityConfig (array &$similarityConfig) | |
This hook is called register new similarity configurations. | |
onCirrusSearchAnalysisConfig (array &$config, AnalysisConfigBuilder $analyisConfigBuilder) | |
This hook is called to alter the analysis configuration. | |
onCirrusSearchMappingConfig (array &$mappingConfig, MappingConfigBuilder $mappingConfigBuilder) | |
This hook is called to alter the mapping configuration. | |
onCirrusSearchProfileService (Profile\SearchProfileService $service) | |
onCirrusSearchScoreBuilder (array $definition, Search\SearchContext $context, ?BoostFunctionBuilder &$builder) | |
Public Member Functions inherited from CirrusSearch\Hooks\CirrusSearchRegisterFullTextQueryClassifiersHook | |
onCirrusSearchRegisterFullTextQueryClassifiers (ParsedQueryClassifiersRepository $repository) | |
This hook is called to register FullText query classifiers. | |
Public Member Functions inherited from CirrusSearch\Hooks\CirrusSearchProfileServiceHook | |
onCirrusSearchProfileService (SearchProfileService $service) | |
This hook is called to register search profiles. | |
Public Member Functions inherited from CirrusSearch\Hooks\CirrusSearchScoreBuilderHook | |
onCirrusSearchScoreBuilder (array $definition, SearchContext $context, ?BoostFunctionBuilder &$builder) | |
CirrusSearch\CirrusSearchHookRunner::onCirrusSearchAddQueryFeatures | ( | SearchConfig | $config, |
array & | $extraFeatures ) |
This hook is called to register new search keywords.
SearchConfig | $config | |
SimpleKeywordFeature[] | &$extraFeatures |
Implements CirrusSearch\Hooks\CirrusSearchAddQueryFeaturesHook.
CirrusSearch\CirrusSearchHookRunner::onCirrusSearchAnalysisConfig | ( | array & | $config, |
AnalysisConfigBuilder | $analyisConfigBuilder ) |
This hook is called to alter the analysis configuration.
array | &$config | |
AnalysisConfigBuilder | $analyisConfigBuilder |
Implements CirrusSearch\Hooks\CirrusSearchAnalysisConfigHook.
CirrusSearch\CirrusSearchHookRunner::onCirrusSearchMappingConfig | ( | array & | $mappingConfig, |
MappingConfigBuilder | $mappingConfigBuilder ) |
This hook is called to alter the mapping configuration.
array | &$mappingConfig | |
MappingConfigBuilder | $mappingConfigBuilder |
Implements CirrusSearch\Hooks\CirrusSearchMappingConfigHook.
CirrusSearch\CirrusSearchHookRunner::onCirrusSearchSimilarityConfig | ( | array & | $similarityConfig | ) |
This hook is called register new similarity configurations.
array | &$similarityConfig |
Implements CirrusSearch\Hooks\CirrusSearchSimilarityConfigHook.