CirrusSearch
Elasticsearch-powered search for MediaWiki
|
Simple list of weighted queries. More...
Public Member Functions | |
__construct (array $boostedQueries, array $weights) | |
Build a BoostedQueriesFunction using a list of queries and its associated weights. | |
append (FunctionScore $container) | |
Append functions to the function score $container. | |
Simple list of weighted queries.
CirrusSearch\Search\Rescore\BoostedQueriesFunction::__construct | ( | array | $boostedQueries, |
array | $weights ) |
Build a BoostedQueriesFunction using a list of queries and its associated weights.
AbstractQuery[] | $boostedQueries | |
float[] | $weights |
CirrusSearch\Search\Rescore\BoostedQueriesFunction::append | ( | FunctionScore | $container | ) |
Append functions to the function score $container.
FunctionScore | $container |
Implements CirrusSearch\Search\Rescore\BoostFunctionBuilder.