You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hop.apache.org by "leehaut (via GitHub)" <gi...@apache.org> on 2026/08/08 05:13:17 UTC
[PR] Improved#3643 Fuzzy Match return distances for multiple matches(Top-K/separate rows) (hop)
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: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved#3643 Fuzzy Match return distances for multiple matches(Top-K/separate rows) (hop)
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva merged PR #7849:
URL: https://github.com/apache/hop/pull/7849
--
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: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] Improved#3643 Fuzzy Match return distances for multiple matches(Top-K/separate rows) (hop)
Posted by "hansva (via GitHub)" <gi...@apache.org>.
hansva commented on PR #7849:
URL: https://github.com/apache/hop/pull/7849#issuecomment-5236905178
Lifting this to 2.20
--
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: issues-unsubscribe@hop.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org