usearch 2.16.10 → 2.17.1
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
package/c/usearch.h
CHANGED
|
@@ -181,7 +181,6 @@ USEARCH_EXPORT void usearch_view(usearch_index_t index, char const* path, usearc
|
|
|
181
181
|
* @param[in] path The file path from where the index will be loaded.
|
|
182
182
|
* @param[out] options Pointer to the `usearch_init_options_t` structure to be populated.
|
|
183
183
|
* @param[out] error Pointer to a string where the error message will be stored, if an error occurs.
|
|
184
|
-
* @return A handle to the initialized USearch index, or `NULL` on failure.
|
|
185
184
|
*/
|
|
186
185
|
USEARCH_EXPORT void usearch_metadata(char const* path, usearch_init_options_t* options, usearch_error_t* error);
|
|
187
186
|
|
|
@@ -219,7 +218,6 @@ USEARCH_EXPORT void usearch_view_buffer(usearch_index_t index, void const* buffe
|
|
|
219
218
|
* @param[in] buffer The in-memory continuous buffer from where the view will be created.
|
|
220
219
|
* @param[out] options Pointer to the `usearch_init_options_t` structure to be populated.
|
|
221
220
|
* @param[out] error Pointer to a string where the error message will be stored, if an error occurs.
|
|
222
|
-
* @return A handle to the initialized USearch index, or `NULL` on failure.
|
|
223
221
|
*/
|
|
224
222
|
USEARCH_EXPORT void usearch_metadata_buffer(void const* buffer, size_t length, usearch_init_options_t* options,
|
|
225
223
|
usearch_error_t* error);
|
|
@@ -356,7 +354,7 @@ USEARCH_EXPORT bool usearch_contains(usearch_index_t index, usearch_key_t key, u
|
|
|
356
354
|
* @param[out] error Pointer to a string where the error message will be stored, if an error occurs.
|
|
357
355
|
* @return Number of vectors found under that key.
|
|
358
356
|
*/
|
|
359
|
-
USEARCH_EXPORT size_t usearch_count(usearch_index_t index, usearch_key_t, usearch_error_t* error);
|
|
357
|
+
USEARCH_EXPORT size_t usearch_count(usearch_index_t index, usearch_key_t key, usearch_error_t* error);
|
|
360
358
|
|
|
361
359
|
/**
|
|
362
360
|
* @brief Performs k-Approximate Nearest Neighbors (kANN) Search for closest vectors to query.
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
#define UNUM_USEARCH_HPP
|
|
9
9
|
|
|
10
10
|
#define USEARCH_VERSION_MAJOR 2
|
|
11
|
-
#define USEARCH_VERSION_MINOR
|
|
12
|
-
#define USEARCH_VERSION_PATCH
|
|
11
|
+
#define USEARCH_VERSION_MINOR 17
|
|
12
|
+
#define USEARCH_VERSION_PATCH 1
|
|
13
13
|
|
|
14
14
|
// Inferring C++ version
|
|
15
15
|
// https://stackoverflow.com/a/61552074
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|