Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | |
3 | namespace CirrusSearch\Query; |
4 | |
5 | use CirrusSearch\Parser\AST\KeywordFeatureNode; |
6 | use CirrusSearch\Query\Builder\QueryBuildingContext; |
7 | use CirrusSearch\Search\Rescore\BoostFunctionBuilder; |
8 | |
9 | interface BoostFunctionFeature { |
10 | |
11 | /** |
12 | * @param KeywordFeatureNode $node |
13 | * @param QueryBuildingContext $context |
14 | * @return BoostFunctionBuilder|null |
15 | */ |
16 | public function getBoostFunctionBuilder( KeywordFeatureNode $node, QueryBuildingContext $context ); |
17 | } |