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
1.92k stars 109 forks source link

Add java `Index.{load,view}FromPath(String)` #410

Closed mccullocht closed 1 month ago

mccullocht commented 1 month ago

If the index is save()ed to disk we should be able to load it without needing to either correctly guess the parameters or hope they are ignored/overwritten when the index is loaded.

ashvardanian commented 1 month ago

Thank you for your contributions @mccullocht!

I have a Java question unrelated to this commit. Are there simpler alternatives to using Maven and SonaType. Any chance we can recommend Java developers to use Bazel or some other build tool to fetch sources from GitHub and build on-the-fly?

mccullocht commented 1 month ago

@ashvardanian not an expert, but my impression is that most folks prefer to use precompiled artifacts rather than source distribution and bazel is unusual unless you have multiple languages in your code base.