wikimedia/mediawiki-extensions-CirrusSearch

View on GitHub
includes/Search/Rescore/BoostFunctionBuilder.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace CirrusSearch\Search\Rescore;

use Elastica\Query\FunctionScore;

/**
 * Append functions to a FunctionScore
 * @package CirrusSearch\Search\Rescore
 */
interface BoostFunctionBuilder {

    /**
     * Append functions to the function score $container
     *
     * @param FunctionScore $container
     */
    public function append( FunctionScore $container );
}