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

Fail queries using APPROX_NEAR but not using vector index #21528

Open
wants to merge 294 commits into
base: devel
Choose a base branch
from

Conversation

jbajic
Copy link
Contributor

@jbajic jbajic commented Dec 19, 2024

Scope & Purpose

Fail a query with an error when APPROX_NEAR is used but vector index was not applied. It might not be expected from the user perspective to just fall back onto L2_DISTANCE or COSINE_SIMILARITY

  • 💩 Bugfix
  • 🍕 New feature
  • 🔥 Performance improvement
  • 🔨 Refactoring/simplification

Checklist

  • Tests
    • Regression tests
    • C++ Unit tests
    • integration tests
    • resilience tests
  • 📖 CHANGELOG entry made
  • 📚 documentation written (release notes, API changes, ...)
  • Backports
    • Backport for 3.12.0: (Please link PR)
    • Backport for 3.11: (Please link PR)
    • Backport for 3.10: (Please link PR)

Related Information

(Please reference tickets / specification / other PRs etc)

  • Docs PR:
  • Enterprise PR:
  • GitHub issue / Jira ticket:
  • Design document:

@jbajic jbajic self-assigned this Dec 19, 2024
@cla-bot cla-bot bot added the cla-signed label Dec 19, 2024
@jbajic jbajic requested a review from goedderz December 19, 2024 07:46
@jbajic jbajic added the 3 AQL Query language related label Dec 19, 2024
@jbajic jbajic marked this pull request as ready for review December 19, 2024 13:34
Base automatically changed from feature/vector-index-nprobe to devel December 19, 2024 15:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 AQL Query language related cla-signed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants