CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Finds pages similar to another one. More...
Public Member Functions | |
__construct (SearchConfig $config) | |
getFeatureName ( $key, $valueDelimiter) | |
@inheritDoc | |
getConfig () | |
Public Member Functions inherited from CirrusSearch\Query\SimpleKeywordFeature | |
getKeywordPrefixes () | |
allowEmptyValue () | |
Whether this keyword allows empty value. | |
hasValue () | |
Whether this keyword can have a value. | |
greedy () | |
Whether this keyword is greedy consuming the rest of the string. | |
queryHeader () | |
Whether this keyword can appear only at the beginning of the query (excluding spaces) | |
getValueDelimiters () | |
List of value delimiters supported (must be an array of single byte char) | |
parseValue ( $key, $value, $quotedValue, $valueDelimiter, $suffix, WarningCollector $warningCollector) | |
Parse the value of the keyword. | |
getCrossSearchStrategy (KeywordFeatureNode $node) | |
expand (KeywordFeatureNode $node, SearchConfig $config, WarningCollector $warningCollector) | |
doApplyExtended (SearchContext $context, $key, $value, $quotedValue, $negated, $delimiter, $suffix) | |
Fully featured apply method which delegates to doApply by default. | |
apply (SearchContext $context, $term) | |
Protected Member Functions | |
getKeywords () | |
@inheritDoc | |
doApply (SearchContext $context, $key, $value, $quotedValue, $negated) | |
@inheritDoc | |
Finds pages similar to another one.
(Non-greedy replacement of MoreLikeFeature)
|
protected |
@inheritDoc
Reimplemented from CirrusSearch\Query\SimpleKeywordFeature.
CirrusSearch\Query\MoreLikeThisFeature::getConfig | ( | ) |
CirrusSearch\Query\MoreLikeThisFeature::getFeatureName | ( | $key, | |
$valueDelimiter ) |
@inheritDoc
Reimplemented from CirrusSearch\Query\SimpleKeywordFeature.
|
protected |
@inheritDoc
Reimplemented from CirrusSearch\Query\SimpleKeywordFeature.