Method |
Description |
|
__construct ( string $field, string $query, float $cutoffFrequency ) |
|
|
setAnalyzer ( string $analyzer ) |
Set the analyzer for this query. |
|
setBoost ( float $boost ) |
Set the boost for this query. |
|
setCutoffFrequency ( float $frequency ) |
Set the frequency below which terms will be put in the low frequency group. |
|
setDisableCoord ( boolean $disable = true ) |
Enable / disable computation of score factor based on the fraction of all query terms contained in the document. |
|
setField ( string $field ) |
Set the field on which to query. |
|
setHighFrequencyOperator ( string $operator ) |
Set the logic operator for high frequency terms. |
|
setLowFrequencyOperator ( string $operator ) |
Set the logic operator for low frequency terms. |
|
setMinimumShouldMatch ( integer | string $minimum ) |
Set the minimum_should_match parameter. |
|
setQuery ( string $query ) |
Set the query string for this query. |
|
setQueryParam ( string $key, mixed $value ) |
Set a parameter in the body of this query. |
|
toArray ( ) : array |
|
|