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

Add distance and similarity metric as output in KNN search #1260

Merged
merged 7 commits into from
May 30, 2024

Conversation

JinHai-CN
Copy link
Contributor

What problem does this PR solve?

  1. Python SDK can't use _distance to output the L2 distance.
  2. Use '_similarity' to represents the IP metric.

Type of change

  • Bug Fix (non-breaking change which fixes an issue)
  • New Feature (non-breaking change which adds functionality)

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
@JinHai-CN JinHai-CN changed the title Add distance and similarity to KNN Add distance and similarity metric as output in KNN search May 30, 2024
@JinHai-CN JinHai-CN added the ci PR can be test label May 30, 2024
@JinHai-CN JinHai-CN merged commit 67fdd71 into infiniflow:main May 30, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci PR can be test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant