CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Legacy keyword markup interface for keywords that still work by manipulating the SearchContext. More...
Public Member Functions | |
doApplyExtended (SearchContext $context, $key, $value, $quotedValue, $negated, $delimiter, $suffix) | |
Fully featured apply method which delegates to doApply by default. | |
Legacy keyword markup interface for keywords that still work by manipulating the SearchContext.
CirrusSearch\Query\LegacyKeywordFeature::doApplyExtended | ( | SearchContext | $context, |
$key, | |||
$value, | |||
$quotedValue, | |||
$negated, | |||
$delimiter, | |||
$suffix ) |
Fully featured apply method which delegates to doApply by default.
SearchContext | $context | |
string | $key | The keyword |
string | $value | The value attached to the keyword with quotes stripped and escaped quotes un-escaped. |
string | $quotedValue | The original value in the search string, including quotes if used |
bool | $negated | Is the search negated? Not used to generate the returned AbstractQuery, that will be negated as necessary. Used for any other building/context necessary. |
string | $delimiter | the delimiter char used to wrap the keyword value ('"' in intitle:"test") |
string | $suffix | the optional suffix used after the value ('i' in insource:/regex/i) |