leehaut opened a new pull request, #7849: URL: https://github.com/apache/hop/pull/7849
Fix https://github.com/apache/hop/issues/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: | Match mode | Behavior | |---|---| | **Closest match** | Single best match (previous closer-value behavior) | | **All matches (separate rows)** | One output row per match, ranked best-first, limited by Top-K (**recommended**) | | **All matches (concatenated)** | Matches and measures joined with the values separator (literal #3643 request) | ### Details - Add `MatchMode` (`closest` / `all_rows` / `all_concat`) with backward compatibility for existing `closervalue` pipelines - Add **Max matches** Top-K (default `10`, hard-capped at `100`) using a bounded priority heap (no full in-memory sort of all candidates) - Value field is available in all modes; concatenated mode returns measures as a separator-aligned string list - Additional lookup fields remain available for closest and separate-rows modes - Update UI, i18n (`en_US` / `zh_CN`), and user docs (`fuzzymatch.adoc`, joins/lookups guide) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
