unum-cloud / usearch

Fast Open-Source Search & Clustering engine × for Vectors & 🔜 Strings × in C++, C, Python, JavaScript, Rust, Java, Objective-C, Swift, C#, GoLang, and Wolfram 🔍
https://unum-cloud.github.io/usearch/
Apache License 2.0
2.15k stars 130 forks source link

Bug: Loading an index.usearch throws an exception in C# #353

Closed Geekyvk5 closed 7 months ago

Geekyvk5 commented 7 months ago

Describe the bug

Bug: In C#, it works well but there is a major glitch. First time it runs on 10k embeddings and indexes. Now, the indexed file is saved to a location. After this when I load the file using the UsearchIndex("file path"). Until here it works well. The file is also loading perfectly. However, now when I do a search operation, it throws an exception saying "External component has thrown an exception".

Note: Tried in console, MCV C#.

Steps to reproduce

Load an already saved indexed file and try search. It throws an exception.

Expected behavior

No exception.

USearch version

2.9.0

Operating System

Windows 11

Hardware architecture

x86

Which interface are you using?

Other bindings

Contact Details

No response

Is there an existing issue for this?

Code of Conduct

ErwanL08 commented 7 months ago

Duplicate :) : https://github.com/unum-cloud/usearch/issues/345

ashvardanian commented 7 months ago

:tada: This issue has been resolved in version 2.9.1 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket:

Geekyvk5 commented 6 months ago

Thank you for the quick fix.