Méthode |
Description |
|
setAnalyzer ( string $analyzer ) |
Set analyzer. |
|
setCutoffFrequency ( float $cutoffFrequency ) |
Set cutoff frequency for Match Query. |
|
setFields ( array $fields = [] ) |
Sets Fields to be used in the query. |
|
setFuzziness ( float | string $fuzziness ) |
Set fuzziness. |
|
setMaxExpansions ( integer $maxExpansions ) |
Set max expansions. |
|
setMinimumShouldMatch ( mixed $minimumShouldMatch ) |
Set field minimum should match for Match Query. |
|
setOperator ( string $operator = 'or' ) |
Sets operator for Match Query. |
|
setPrefixLength ( integer $prefixLength ) |
Set prefix length. |
|
setQuery ( string $query = '' ) |
Sets the query. |
|
setTieBreaker ( float $tieBreaker ) |
Sets tie breaker to multiplier value to balance the scores between lower and higher scoring fields. |
|
setType ( string $type ) |
Set type. |
|
setUseDisMax ( boolean $useDisMax = true ) |
Sets use dis max indicating to either create a dis_max query or a bool query. |
|
setZeroTermsQuery ( string $zeroTermQuery = 'none' ) |
Set zero terms query for Match Query. |
|