Improved#3643 Fuzzy Match return distances for multiple matches(Top-K/separate rows) - #7849
Open
leehaut wants to merge 1 commit into
Open
Improved#3643 Fuzzy Match return distances for multiple matches(Top-K/separate rows)#7849leehaut wants to merge 1 commit into
leehaut wants to merge 1 commit into
Conversation
…rate rows) Signed-off-by: lance <leehaut@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix #3643
Summary
Previously, Fuzzy Match only returned a measure (distance / similarity) when Get closer value was enabled. In multi-match mode, matches were concatenated without their distances.
This change replaces the closer-value checkbox with an explicit Match mode, and supports retrieving multiple matches together with measure values:
Details
MatchMode(closest/all_rows/all_concat) with backward compatibility for existingcloservaluepipelines10, hard-capped at100) using a bounded priority heap (no full in-memory sort of all candidates)en_US/zh_CN), and user docs (fuzzymatch.adoc, joins/lookups guide)