usearch 2.13.0 → 2.13.2
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/README.md
CHANGED
|
@@ -400,7 +400,7 @@ def search(query: str) -> np.ndarray:
|
|
|
400
400
|
server.run()
|
|
401
401
|
```
|
|
402
402
|
|
|
403
|
-
Similar experiences can also be
|
|
403
|
+
Similar experiences can also be implemented in other languages and on the client side, removing the network latency.
|
|
404
404
|
For Swift and iOS, check out the [`ashvardanian/SwiftSemanticSearch`](https://github.com/ashvardanian/SwiftSemanticSearch) repository.
|
|
405
405
|
|
|
406
406
|
<table>
|
|
@@ -541,7 +541,7 @@ doi = {10.5281/zenodo.7949416},
|
|
|
541
541
|
author = {Vardanian, Ash},
|
|
542
542
|
title = {{USearch by Unum Cloud}},
|
|
543
543
|
url = {https://github.com/unum-cloud/usearch},
|
|
544
|
-
version = {2.13.
|
|
544
|
+
version = {2.13.2},
|
|
545
545
|
year = {2023},
|
|
546
546
|
month = oct,
|
|
547
547
|
}
|
package/c/usearch.h
CHANGED
|
@@ -434,7 +434,7 @@ USEARCH_EXPORT usearch_distance_t usearch_distance( //
|
|
|
434
434
|
usearch_metric_kind_t metric_kind, usearch_error_t* error);
|
|
435
435
|
|
|
436
436
|
/**
|
|
437
|
-
* @brief Multi-threaded exact nearest neighbors search for equi-dimensional vectors.
|
|
437
|
+
* @brief Multi-threaded many-to-many exact nearest neighbors search for equi-dimensional vectors.
|
|
438
438
|
* @param[in] dataset Pointer to the first scalar of the dataset matrix.
|
|
439
439
|
* @param[in] queries Pointer to the first scalar of the queries matrix.
|
|
440
440
|
* @param[in] dataset_size Number of vectors in the `dataset`.
|
|
@@ -446,10 +446,13 @@ USEARCH_EXPORT usearch_distance_t usearch_distance( //
|
|
|
446
446
|
* @param[in] metric_kind The metric kind used for distance calculation between vectors.
|
|
447
447
|
* @param[in] count Upper bound on the number of neighbors to search, the "k" in "kANN".
|
|
448
448
|
* @param[in] threads Upper bound for the number of CPU threads to use.
|
|
449
|
-
* @param[out] keys Output
|
|
450
|
-
*
|
|
449
|
+
* @param[out] keys Output matrix for `queries_size * count` nearest neighbors keys. Each row of the
|
|
450
|
+
* matrix must be contiguous in memory, but different rows can be separated by `keys_stride` bytes.
|
|
451
|
+
* @param[in] keys_stride Number of bytes between starts of consecutive rows od scalars in `keys`.
|
|
452
|
+
* @param[out] distances Output matrix for `queries_size * count` distances to nearest neighbors. Each row of the
|
|
453
|
+
* matrix must be contiguous in memory, but different rows can be separated by `keys_stride` bytes.
|
|
454
|
+
* @param[in] distances_stride Number of bytes between starts of consecutive rows od scalars in `distances`.
|
|
451
455
|
* @param[out] error Pointer to a string where the error message will be stored, if an error occurs.
|
|
452
|
-
* @return Number of found matches.
|
|
453
456
|
*/
|
|
454
457
|
USEARCH_EXPORT void usearch_exact_search( //
|
|
455
458
|
void const* dataset, size_t dataset_size, size_t dataset_stride, //
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|