usearch 2.7.2 → 2.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CITATION.cff +1 -1
- package/Cargo.toml +1 -1
- package/README.md +1 -1
- package/conanfile.py +1 -1
- package/csharp/nuget/nuget-package.props +1 -1
- package/include/usearch/index.hpp +1 -1
- package/javascript/lib.cpp +4 -3
- package/package.json +1 -1
- package/wasmer.toml +1 -1
package/CITATION.cff
CHANGED
package/Cargo.toml
CHANGED
package/README.md
CHANGED
package/conanfile.py
CHANGED
|
@@ -7,7 +7,7 @@ required_conan_version = ">=1.53.0"
|
|
|
7
7
|
class USearchConan(ConanFile):
|
|
8
8
|
|
|
9
9
|
name = "usearch"
|
|
10
|
-
version = '2.7.
|
|
10
|
+
version = '2.7.3'
|
|
11
11
|
license = "Apache-2.0"
|
|
12
12
|
description = "Smaller & Faster Single-File Vector Search Engine from Unum"
|
|
13
13
|
homepage = "https://github.com/unum-cloud/usearch"
|
package/javascript/lib.cpp
CHANGED
|
@@ -260,7 +260,7 @@ Napi::Value CompiledIndex::Count(Napi::CallbackInfo const& ctx) {
|
|
|
260
260
|
return result;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
Napi::Value
|
|
263
|
+
Napi::Value exactSearch(Napi::CallbackInfo const& ctx) {
|
|
264
264
|
Napi::Env env = ctx.Env();
|
|
265
265
|
|
|
266
266
|
// Extracting parameters directly without additional type checks.
|
|
@@ -281,6 +281,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
|
|
|
281
281
|
}
|
|
282
282
|
|
|
283
283
|
metric_punned_t metric(dimensions, metric_kind, quantization);
|
|
284
|
+
executor_default_t executor;
|
|
284
285
|
exact_search_t search;
|
|
285
286
|
|
|
286
287
|
// Performing the exact search.
|
|
@@ -293,7 +294,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
|
|
|
293
294
|
reinterpret_cast<byte_t const*>(queriesBuffer.Data()), //
|
|
294
295
|
queries_size, //
|
|
295
296
|
dimensions * bytes_per_scalar, //
|
|
296
|
-
wanted, metric);
|
|
297
|
+
wanted, metric, executor);
|
|
297
298
|
|
|
298
299
|
if (!results)
|
|
299
300
|
Napi::TypeError::New(env, "Out of memory").ThrowAsJavaScriptException();
|
|
@@ -325,7 +326,7 @@ Napi::Value compiledExactSearch(Napi::CallbackInfo const& ctx) {
|
|
|
325
326
|
}
|
|
326
327
|
|
|
327
328
|
Napi::Object InitAll(Napi::Env env, Napi::Object exports) {
|
|
328
|
-
exports.Set("
|
|
329
|
+
exports.Set("exactSearch", Napi::Function::New(env, exactSearch));
|
|
329
330
|
return CompiledIndex::Init(env, exports);
|
|
330
331
|
}
|
|
331
332
|
|
package/package.json
CHANGED