Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for Fuzzy, FuzzyLikeThis, FuzzyLikeThisField? #1510

Open
leberknecht opened this issue Jun 11, 2021 · 0 comments
Open

Documentation for Fuzzy, FuzzyLikeThis, FuzzyLikeThisField? #1510

leberknecht opened this issue Jun 11, 2021 · 0 comments

Comments

@leberknecht
Copy link

Im trying to construct a fuzzy query, and i was somehow successful by using something like

Q('fuzzy', value=name)

but this doesnt let me control the fuzziness. I found out here #1124 that i can do this instead:

Q({"fuzzy": {"value": {"value": name, "fuzziness": fuzziness}}})

which gives the result that i want. Before opening this issue i search a bit and saw here #1505 that they are talking about a keyword argument for fuzziness, but that doesnt work for term, match or fuzzy queries (where the first two make total sense, but i somehow hoped that it is valid for fuzzy..).

I see that there are three types of Fuzzy-Query classes in the source, would it be possible to document this? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants