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

Sparse knn1 #1283

Merged
merged 8 commits into from
Jun 3, 2024
Merged

Sparse knn1 #1283

merged 8 commits into from
Jun 3, 2024

Conversation

small-turtle-1
Copy link
Contributor

@small-turtle-1 small-turtle-1 commented Jun 3, 2024

What problem does this PR solve?

  1. Add support for knn search on sparse vector column.
  2. No index is implemented now. so knn use brute force.

TODO:

  1. Add more test case
  2. Add an option to determine whether sort sparse vector when store in database.
  3. Add filter in sparse knn search.

Issue link:#1174

Type of change

  • New Feature (non-breaking change which adds functionality)
  • Test cases

@small-turtle-1 small-turtle-1 added the ci PR can be test label Jun 3, 2024
@JinHai-CN JinHai-CN merged commit 5a52545 into infiniflow:main Jun 3, 2024
3 checks passed
@small-turtle-1 small-turtle-1 deleted the sparse_knn1 branch June 4, 2024 01:25
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.

None yet

2 participants