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

Fix non-euclidean distance metrics + more optimizer rules #27

Merged
merged 2 commits into from
Sep 5, 2024

Conversation

Maxxen
Copy link
Member

@Maxxen Maxxen commented Sep 5, 2024

  • Fix so that we actually use distance metrics that match the semantics provided by usearch. Eg. array_cosine_distance and array_negative_inner_product.
  • Rewrite 1-cosine_similarity to cosine_distance
  • Optimize min_by(col, arg, k) aggregates if there are indexes
  • Use proper expression matcher, make index scan binding more accurate in case there are multiple indexes on the same table.
  • Fix misc bugs
  • Add more tests

… provided by usearch, add more tests, optimize min_by aggregates, use proper expression matcher, make index scan binding more accurate in case there are multiple indexes, fix misc bugs
@Maxxen Maxxen merged commit 77739ea into duckdb:main Sep 5, 2024
22 checks passed
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.

1 participant