CirrusSearch
Elasticsearch-powered search for MediaWiki
|
simple log(factor*field+2)^impact Useful to control the impact when applied in a multiplication. More...
Public Member Functions | |
__construct (SearchConfig $config, $weight, $profile) | |
append (FunctionScore $functionScore) | |
Append functions to the function score $container. | |
Public Member Functions inherited from CirrusSearch\Search\Rescore\FunctionScoreBuilder | |
__construct ( $config, $weight) | |
Additional Inherited Members | |
Protected Member Functions inherited from CirrusSearch\Search\Rescore\FunctionScoreBuilder | |
getOverriddenFactor ( $value) | |
Utility method to extract a factor (float) that can be overridden by a config value or an URI param. | |
Protected Attributes inherited from CirrusSearch\Search\Rescore\FunctionScoreBuilder | |
$config | |
$weight | |
simple log(factor*field+2)^impact Useful to control the impact when applied in a multiplication.
CirrusSearch\Search\Rescore\LogMultFunctionScoreBuilder::__construct | ( | SearchConfig | $config, |
$weight, | |||
$profile ) |
SearchConfig | $config | |
float | $weight | |
array | $profile |
InvalidRescoreProfileException |
CirrusSearch\Search\Rescore\LogMultFunctionScoreBuilder::append | ( | FunctionScore | $container | ) |
Append functions to the function score $container.
FunctionScore | $container |
Implements CirrusSearch\Search\Rescore\BoostFunctionBuilder.