Method | Description | |
---|---|---|
__construct ( string | Elastica\Query\AbstractQuery $query = null ) | Constructor. | |
setQueryWeight ( float $weight ) | Sets query_weight. | |
setRescoreQuery ( string | |
Sets rescoreQuery object. | |
setRescoreQueryWeight ( float $weight ) | Sets rescore_query_weight. | |
toArray ( ) : array | Override default implementation so params are in the format expected by elasticsearch. |
public __construct ( string | Elastica\Query\AbstractQuery $query = null ) | ||
$query | string | Elastica\Query\AbstractQuery |
public setQueryWeight ( float $weight ) | ||
$weight | float |
public setRescoreQuery ( string | |
||
$rescoreQuery | string | |
public setRescoreQueryWeight ( float $weight ) | ||
$weight | float |