Closed ebursztein closed 1 year ago
usearch exact search do not report the keys properly even in the latest version: 2.5.1
test code:
from usearch.index import search, MetricKind, Matches, BatchMatches import numpy as np # Generate 10'000 random vectors with 1024 dimensions vectors = np.random.rand(1000, 64).astype(np.float32) one_in_many: Matches = search(vectors, vectors[100], 1, MetricKind.Cos, exact=True) print(one_in_many[0])
print:
Match(key=0, distance=0.0)
The expected behavior is like the approximate one - we want
Match(key=100, distance=0.0)
v2.5.1
OSX
Arm
Python bindings
happy to reply to comment or send me an email
:tada: This issue has been resolved in version 2.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:
Describe the bug
usearch exact search do not report the keys properly even in the latest version: 2.5.1
Steps to reproduce
test code:
print:
Expected behavior
The expected behavior is like the approximate one - we want
USearch version
v2.5.1
Operating System
OSX
Hardware architecture
Arm
Which interface are you using?
Python bindings
Contact Details
happy to reply to comment or send me an email
Is there an existing issue for this?
Code of Conduct