-
Notifications
You must be signed in to change notification settings - Fork 507
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
Update fuzzy.md #7842
Update fuzzy.md #7842
Conversation
Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Editorial review -> Merged. Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer. When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference). The doc reviewer will arrange for an editorial review. |
@hdhalter, now I am really ready for your doc review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @svitlo! A couple of suggestions:
- Please change line 17 to Damerau-Levenshtein as well.
- Since there is a
transpositions
parameter to allow/disallow transpositions, I think we should include a sentence about the ability to disable transpositions and make it a true Levenshtein distance. Maybe on the same line 17?
Done
Agree. Done. |
@kolchfa-aws, could you please review my amendment. |
@kolchfa-aws, I corrected the line 17 one more time to not break the thought regarding the usage of the field 'max_expansions'. Could you please review it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @svitlo! One rewording suggestion. Also, please fix DCO.
Corrected the name of the string metric used by default Signed-off-by: Tim <[email protected]> Signed-off-by: svitlo <[email protected]>
@kolchfa-aws, fixed. |
@svitlo Looks like you've picked up a few extraneous commits along the way :) Please rebase and push again. |
Done. Could you please check. |
@kolchfa-aws, ^ |
Hmmmmm.... I can still see others' commits in this PR https://github.com/opensearch-project/documentation-website/pull/7842/commits |
@kolchfa-aws, how can I fix it? |
Try rebasing the last 10 commits on your branch against main using this guide https://docs.github.com/en/get-started/using-git/about-git-rebase (so start with running |
…role of the field 'transpositions' Signed-off-by: svitlo <[email protected]>
…he field 'max_expansions' Signed-off-by: svitlo <[email protected]>
Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Tim <[email protected]> Signed-off-by: svitlo <[email protected]>
@kolchfa-aws, I followed your recommendations. |
Awesome, thanks! 🚢 |
* Update fuzzy.md Corrected the name of the string metric used by default Signed-off-by: Tim <[email protected]> Signed-off-by: svitlo <[email protected]> * correct the line 17 of fuzzy.md to clarify the distance name and the role of the field 'transpositions' Signed-off-by: svitlo <[email protected]> * correct the line 17 to not break the thought regarding the usage of the field 'max_expansions' Signed-off-by: svitlo <[email protected]> * Update _query-dsl/term/fuzzy.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Tim <[email protected]> Signed-off-by: svitlo <[email protected]> --------- Signed-off-by: Tim <[email protected]> Signed-off-by: svitlo <[email protected]> Co-authored-by: svitlo <[email protected]> Co-authored-by: kolchfa-aws <[email protected]> (cherry picked from commit 3dcff57) Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
* Update fuzzy.md Corrected the name of the string metric used by default Signed-off-by: Tim <[email protected]> Signed-off-by: svitlo <[email protected]> * correct the line 17 of fuzzy.md to clarify the distance name and the role of the field 'transpositions' Signed-off-by: svitlo <[email protected]> * correct the line 17 to not break the thought regarding the usage of the field 'max_expansions' Signed-off-by: svitlo <[email protected]> * Update _query-dsl/term/fuzzy.md Co-authored-by: kolchfa-aws <[email protected]> Signed-off-by: Tim <[email protected]> Signed-off-by: svitlo <[email protected]> --------- Signed-off-by: Tim <[email protected]> Signed-off-by: svitlo <[email protected]> Co-authored-by: svitlo <[email protected]> Co-authored-by: kolchfa-aws <[email protected]>
Corrected the name of the string metric used by default
Description
The string measure used by default is called Damerau-Levenshtein distance, because transitions are not allowed in the definition of Levenshtein distance.
Issues Resolved
No issues resolved
Version
All
Checklist
For more information on following Developer Certificate of Origin and signing off your commits, please check here.