Fuzzy Like This query.
More...
Fuzzy Like This query.
- Author
- Raul Martinez, Jr juney.nosp@m.m@gm.nosp@m.ail.c.nosp@m.om
2016.05
Definition at line 48 of file FuzzyLikeThis.php.
◆ addFields()
FuzzyLikeThis::addFields |
( |
array | $fields | ) |
|
◆ setAnalyzer()
FuzzyLikeThis::setAnalyzer |
( |
| $text | ) |
|
◆ setFuzziness()
FuzzyLikeThis::setFuzziness |
( |
| $value | ) |
|
Set the minimum similarity.
- Parameters
-
- Returns
- $this
Definition at line 141 of file FuzzyLikeThis.php.
◆ setIgnoreTF()
FuzzyLikeThis::setIgnoreTF |
( |
| $ignoreTF | ) |
|
Set the "ignore_tf" value (ignore term frequency).
- Parameters
-
- Returns
- $this
Definition at line 128 of file FuzzyLikeThis.php.
◆ setLikeText()
FuzzyLikeThis::setLikeText |
( |
| $text | ) |
|
Set the "like_text" value.
- Parameters
-
- Returns
- $this
Definition at line 114 of file FuzzyLikeThis.php.
◆ setMaxQueryTerms()
FuzzyLikeThis::setMaxQueryTerms |
( |
| $value | ) |
|
Set max_query_terms.
- Parameters
-
int | $value | Max query terms value |
- Returns
- $this
Definition at line 166 of file FuzzyLikeThis.php.
◆ setPrefixLength()
FuzzyLikeThis::setPrefixLength |
( |
| $value | ) |
|
◆ toArray()
FuzzyLikeThis::toArray |
( |
| ) |
|
Converts fuzzy like this query to array.
- Returns
- array Query array
- See also
- \Elastica\Query\AbstractQuerytoArray()
Definition at line 191 of file FuzzyLikeThis.php.
◆ $_analyzer
FuzzyLikeThis::$_analyzer |
|
protected |
◆ $_fields
FuzzyLikeThis::$_fields = [] |
|
protected |
◆ $_fuzziness
FuzzyLikeThis::$_fuzziness = 2 |
|
protected |
◆ $_ignoreTF
FuzzyLikeThis::$_ignoreTF = false |
|
protected |
◆ $_likeText
FuzzyLikeThis::$_likeText = '' |
|
protected |
◆ $_maxQueryTerms
FuzzyLikeThis::$_maxQueryTerms = 25 |
|
protected |
◆ $_prefixLength
FuzzyLikeThis::$_prefixLength = 0 |
|
protected |
The documentation for this class was generated from the following file: