CirrusSearch
Elasticsearch-powered search for MediaWiki
Loading...
Searching...
No Matches
CirrusSearch\Query\HighlightingFeature Interface Reference

Keywords willing to interact with the highlighting configuration should implement this interface. More...

+ Inheritance diagram for CirrusSearch\Query\HighlightingFeature:

Public Member Functions

 buildHighlightFields (KeywordFeatureNode $node, QueryBuildingContext $context)
 Build the list of highlighted fields to add to fetch phase configuration.
 

Detailed Description

Keywords willing to interact with the highlighting configuration should implement this interface.

Member Function Documentation

◆ buildHighlightFields()

CirrusSearch\Query\HighlightingFeature::buildHighlightFields ( KeywordFeatureNode $node,
QueryBuildingContext $context )

Build the list of highlighted fields to add to fetch phase configuration.

Parameters
KeywordFeatureNode$node
QueryBuildingContext$context
Returns
HighlightedField[]

Implemented in CirrusSearch\Query\BaseRegexFeature, and CirrusSearch\Query\SubPageOfFeature.


The documentation for this interface was generated from the following file: