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

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

Closed
2 tasks done
Geekyvk5 opened this issue Feb 25, 2024 · 3 comments
Closed
2 tasks done

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

Geekyvk5 opened this issue Feb 25, 2024 · 3 comments
Assignees
Labels
bug Something isn't working released

Comments

@Geekyvk5
Copy link

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?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@Geekyvk5 Geekyvk5 added the bug Something isn't working label Feb 25, 2024
@ErwanL08
Copy link
Contributor

Duplicate :) : #345

@ashvardanian ashvardanian self-assigned this Feb 26, 2024
ashvardanian pushed a commit that referenced this issue Feb 27, 2024
## [2.9.1](v2.9.0...v2.9.1) (2024-02-27)

### Fix

* Explicit narrowing conversions ([25436ae](25436ae))
* Match enum values between C and C# ([4a69086](4a69086))
* Recovering quantization settings in `load` ([fd53619](fd53619)), closes [#353](#353) [#343](#343)
* wildcard ES module imports (#351) ([d5091ac](d5091ac)), closes [#351](#351)

### Improve

* Report missing arguments in debug builds ([ce5bbaf](ce5bbaf))
* Test reopening index ([24be07b](24be07b))

### Make

* Clean-up the C# dir ([70d646c](70d646c))
* invalid C++17 Clang arg ([23684aa](23684aa))
@ashvardanian
Copy link
Contributor

🎉 This issue has been resolved in version 2.9.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Geekyvk5
Copy link
Author

Geekyvk5 commented Mar 9, 2024

Thank you for the quick fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working released
Projects
None yet
Development

No branches or pull requests

3 participants