Method | Description | |
---|---|---|
__construct ( string $field = null, mixed $values = null ) | ||
setField ( string $field, mixed $values ) | Sets a param for the message array. | |
setFieldAnalyzer ( string $field, string $analyzer ) | Set field analyzer. | |
setFieldBoost ( string $field, float $boost = 1 ) | Set field boost value. | |
setFieldCutoffFrequency ( string $field, float $cutoffFrequency ) | Set cutoff frequency. | |
setFieldFuzziness ( string $field, mixed $fuzziness ) | Set field fuzziness. | |
setFieldFuzzyRewrite ( string $field, string $fuzzyRewrite ) | Set field fuzzy rewrite. | |
setFieldMaxExpansions ( string $field, integer $maxExpansions ) | Set field max expansions. | |
setFieldMinimumShouldMatch ( string $field, integer | string $minimumShouldMatch ) | Set field minimum should match. | |
setFieldOperator ( string $field, string $operator ) | Set field operator. | |
setFieldParam ( string $field, string $key, string $value ) | Sets a param for the given field. | |
setFieldPrefixLength ( string $field, integer $prefixLength ) | Set field prefix length. | |
setFieldQuery ( string $field, string $query ) | Sets the query string. | |
setFieldType ( string $field, string $type ) | Set field type. | |
setFieldZeroTermsQuery ( string $field, string $zeroTermQuery = 'none' ) | Set zero terms query. |
public __construct ( string $field = null, mixed $values = null ) | ||
$field | string | |
$values | mixed |
public setFieldAnalyzer ( string $field, string $analyzer ) | ||
$field | string | |
$analyzer | string |
public setFieldBoost ( string $field, float $boost = 1 ) | ||
$field | string | |
$boost | float |
public setFieldCutoffFrequency ( string $field, float $cutoffFrequency ) | ||
$field | string | |
$cutoffFrequency | float |
public setFieldFuzziness ( string $field, mixed $fuzziness ) | ||
$field | string | |
$fuzziness | mixed |
public setFieldFuzzyRewrite ( string $field, string $fuzzyRewrite ) | ||
$field | string | |
$fuzzyRewrite | string |
public setFieldMaxExpansions ( string $field, integer $maxExpansions ) | ||
$field | string | |
$maxExpansions | integer |
public setFieldOperator ( string $field, string $operator ) | ||
$field | string | |
$operator | string |
public setFieldPrefixLength ( string $field, integer $prefixLength ) | ||
$field | string | |
$prefixLength | integer |
public setFieldQuery ( string $field, string $query ) | ||
$field | string | |
$query | string |
public setFieldType ( string $field, string $type ) | ||
$field | string | |
$type | string |
public setFieldZeroTermsQuery ( string $field, string $zeroTermQuery = 'none' ) | ||
$field | string | |
$zeroTermQuery | string |