|
| __construct (SearchConfig $config) |
|
| buildNonRegexHLFields (KeywordFeatureNode $node, QueryBuildingContext $buildingContext) |
| @inheritDoc
|
|
| __construct (SearchConfig $config, array $fields) |
|
| getValueDelimiters () |
|
| parseValue ( $key, $value, $quotedValue, $valueDelimiter, $suffix, WarningCollector $warningCollector) |
|
| getFeatureName ( $key, $valueDelimiter) |
|
| getCrossSearchStrategy (KeywordFeatureNode $node) |
|
| doApplyExtended (SearchContext $context, $key, $value, $quotedValue, $negated, $delimiter, $suffix) |
|
| getFilterQuery (KeywordFeatureNode $node, QueryBuildingContext $context) |
| @inheritDoc
|
|
| buildHighlightFields (KeywordFeatureNode $node, QueryBuildingContext $context) |
| @inheritDoc
|
|
| 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)
|
|
| expand (KeywordFeatureNode $node, SearchConfig $config, WarningCollector $warningCollector) |
|
| apply (SearchContext $context, $term) |
|
Handles non-regexp version of insource: keyword.
The value (including possible quotes) is used as part of a QueryString query while allows some bit of advanced syntax. Because quotes are included, if present, multi-word queries containing AND or OR do not work.
Examples: insource:Foo insource:Foo* insource:"gold rush"
Regex support: insource:/abc?/
Things that don't work: insource:"foo*" insource:"foo OR bar"