Skip to content
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

RRF duplicate bug fix: remove replica number from hit ID check - 2.11 #952

Merged
merged 5 commits into from
Sep 5, 2024

Conversation

vicilliar
Copy link
Contributor

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Bug fix

  • What is the current behavior? (You can also link to an open issue here)
    Duplicates in RRF search due to hits from different replicas having different vespa hit IDs.

  • What is the new behavior (if this is a feature change)?
    Duplicates have been removed, only doc ID (last text after the slash) is used for comparing if tensor/lexical results are unique.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No

  • Have unit tests been run against this PR? (Has there also been any additional testing?)
    In progress

  • Related Python client changes (link commit/PR here)

  • Related documentation changes (link commit/PR here)

  • Other information:

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

Copy link
Collaborator

@farshidz farshidz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add negative regex tests

vespa/src/main/java/ai/marqo/search/HybridSearcher.java Outdated Show resolved Hide resolved
@vicilliar vicilliar merged commit c605243 into releases/2.11 Sep 5, 2024
15 checks passed
@vicilliar vicilliar deleted the joshua/2.11-hybrid-dupe-patch branch September 5, 2024 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants