CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Repository of query classifiers. More...
Public Member Functions | |
registerClassifier (ParsedQueryClassifier $classifier) | |
registerClassifierAsCallable (array $classes, callable $callable) | |
getConfig () | |
The host wiki SearchConfig. | |
getClassifier ( $name) | |
getKnownClassifiers () | |
List known classifiers. | |
Repository of query classifiers.
CirrusSearch\Parser\ParsedQueryClassifiersRepository::getClassifier | ( | $name | ) |
string | $name |
Implemented in CirrusSearch\Parser\FTQueryClassifiersRepository.
CirrusSearch\Parser\ParsedQueryClassifiersRepository::getConfig | ( | ) |
The host wiki SearchConfig.
Implemented in CirrusSearch\Parser\FTQueryClassifiersRepository.
CirrusSearch\Parser\ParsedQueryClassifiersRepository::getKnownClassifiers | ( | ) |
List known classifiers.
Implemented in CirrusSearch\Parser\FTQueryClassifiersRepository.
CirrusSearch\Parser\ParsedQueryClassifiersRepository::registerClassifier | ( | ParsedQueryClassifier | $classifier | ) |
ParsedQueryClassifier | $classifier |
ParsedQueryClassifierException |
Implemented in CirrusSearch\Parser\FTQueryClassifiersRepository.
CirrusSearch\Parser\ParsedQueryClassifiersRepository::registerClassifierAsCallable | ( | array | $classes, |
callable | $callable ) |
string[] | $classes | list of classes that this classifier can produce |
callable | $callable | called as ParsedQueryClassifier::classify( ParsedQuery $query ) |
ParsedQueryClassifierException |