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
Default fuzzy transpositions to true #9278
Comments
Hi @grmblfrz Thanks for spotting this.
Actually, you can set
So I wonder if the right thing is to change the cutoff from 5 to 4, or to default to fuzzy transpositions? |
@mikemccand any thoughts on this? |
+1 to default to fuzzy_transpositions = true. A cutoff for 4 to allow 2 edits seems a bit too eager... |
Corrected explanation of fuzzy AUTO Related to #9278
Corrected explanation of fuzzy AUTO Related to #9278
Corrected explanation of fuzzy AUTO Related to #9278
I've updated the docs to correct the string lengths, and changed this issue to set fuzzy transpositions to true by default |
Please document the fuzzy_transpositions parameter, I did not know about it before and could not find anything in the documentation. |
Corrected explanation of fuzzy AUTO Related to elastic#9278
I also don't see documentation around "fuzzy_transpositions", nor do I see the ability to set it in the java client code. |
The documentation states:
0..1
:: must match exactly1..4
:: one edit allowed>4
:: two edits allowedwhereas the source contains:
For backwards compatibility the documentation should be adapted to:
0..1
:: must match exactly1..5
:: one edit allowed>5
:: two edits allowed(though I personally would prefer to change the implementation - then 'Flyod' would match 'Floyd' with fuzziness 'AUTO', now I'm needing fuzziness 2)
The text was updated successfully, but these errors were encountered: