Skip to content

SQL Server: bring vector search support into the provider #34659

Description

@roji

Azure SQL has preview support for vector search (post, post), and EF currently supports this via the EFCore.SqlServer.VectorSearch plugin.

The vector support will be going GA soon; once that happens, we should move the functionality from the external plugin into the SQL Server provider, so users just get it out of the box without needing an external package.

Note that as part of going GA, the wire encoding of vector data is changing: while vectors are currently being transferred as JSON array strings, they will start getting transferred via an efficient binary encoding instead. Support for this is required in SqlClient, and SqlClient 6.1 - currently in preview and planned to be LTS - is expected to have this support. This means that we'll also need to take a dependency on SqlClient 6.1, and do the work of modifying the EF vector support to use the new binary encoding.

/cc @saurabh500 @cheenamalhotra @yorek @SamMonoRT

Activity

  1. added this to the Backlog milestone on Sep 12, 2024
  2. modified the milestones: Backlog, 10.0.0 on May 1, 2025
  3. self-assigned this
    on May 19, 2025
  4. added theissue type on Jun 15, 2025
  5. added a commit that references this issue on Jul 17, 2025
    31618ce
  6. roji commented on Jul 17, 2025

    @roji
    MemberAuthor

    Note: splitting off VECTOR_SEARCH[] translation support (as opposed to VECTOR_DISTANCE()) to #36384.

  7. added 3 commits that reference this issue on Jul 17, 2025
    fe70d58
    0750861
    e3bf2be
  8. added a commit that references this issue on Jul 19, 2025
    0cb7028
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions