Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-5699

Implement Binary Vector support in Vector Search Scala API

    • Type: Icon: New Feature New Feature
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • 5.3.0
    • Affects Version/s: None
    • Component/s: Scala
    • None
    • Java Drivers
    • Hide

      1. What would you like to communicate to the user about this feature?
      2. Would you like the user to see examples of the syntax and/or executable code and its output?
      3. Which versions of the driver/connector does this apply to?

      Show
      1. What would you like to communicate to the user about this feature? 2. Would you like the user to see examples of the syntax and/or executable code and its output? 3. Which versions of the driver/connector does this apply to?

      Implement support for binary vectors in the Vector Search Scala API to align with the Java API and leverage the new BSON Vector sub-type.

      Background:  In the Java API, binary vector search has been successfully integrated. However, attempting to mirror this functionality in Scala has introduced a type inference problem when overloading the vectorSearch method. The Scala compiler struggles with automatic conversion from a Scala List of doubles to a Java List, causing compilation errors in tests.

            Assignee:
            Unassigned Unassigned
            Reporter:
            slav.babanin@mongodb.com Slav Babanin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: