ZERO_TERM_NONE
ZERO_TERM_NONE
Match query.
This function can be used to handle params for queries, filter
setFieldOperator(string $field, string $operator) : $this
Set field operator.
| string | $field | |
| string | $operator |
| None found |
setFieldAnalyzer(string $field, string $analyzer) : $this
Set field analyzer.
| string | $field | |
| string | $analyzer |
| None found |
setFieldBoost(string $field, float $boost = 1.0) : $this
Set field boost value.
If not set, defaults to 1.0.
| string | $field | |
| float | $boost |
| None found |
setFieldMinimumShouldMatch(string $field, integer|string $minimumShouldMatch) : $this
Set field minimum should match.
| string | $field | |
| integer|string | $minimumShouldMatch |
| None found |
setFieldFuzziness(string $field, mixed $fuzziness) : $this
Set field fuzziness.
| string | $field | |
| mixed | $fuzziness |
| None found |
setFieldFuzzyRewrite(string $field, string $fuzzyRewrite) : $this
Set field fuzzy rewrite.
| string | $field | |
| string | $fuzzyRewrite |
| None found |
setFieldPrefixLength(string $field, integer $prefixLength) : $this
Set field prefix length.
| string | $field | |
| integer | $prefixLength |
| None found |
setFieldMaxExpansions(string $field, integer $maxExpansions) : $this
Set field max expansions.
| string | $field | |
| integer | $maxExpansions |
| None found |
setFieldZeroTermsQuery(string $field, string $zeroTermQuery = 'none') : $this
Set zero terms query.
If not set, default to 'none'
| string | $field | |
| string | $zeroTermQuery |
| None found |
setFieldCutoffFrequency(string $field, float $cutoffFrequency) : $this
Set cutoff frequency.
| string | $field | |
| float | $cutoffFrequency |
| None found |
_convertArrayable(array $array) : array
Cast objects to arrays.
| array | $array |
| None found |
_getBaseName() : string
Param's name Picks the last part of the class name and makes it snake_case You can override this method if you want to change the name.
name
| None found |
_setRawParam(string $key, mixed $value) : $this
Sets params not inside params array.
| string | $key | |
| mixed | $value |
| None found |