-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from jlmelville/v0.2.0
V0.2.0
- Loading branch information
Showing
12 changed files
with
482 additions
and
170 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
Package: RcppHNSW | ||
Title: 'Rcpp' Bindings for 'hnswlib', a Library for Approximate Nearest Neighbors | ||
Version: 0.1.0.9000 | ||
Version: 0.2.0 | ||
Authors@R: c(person("James", "Melville", email = "[email protected]", | ||
role = c("aut", "cre")), person("Aaron", "Lun", role = "ctb")) | ||
Description: 'Hnswlib' is a C++ library for Approximate Nearest Neighbors. This | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,29 @@ | ||
# RcppHNSW 0.2.0 | ||
|
||
## New features | ||
|
||
* Updated hnswlib to <https://github.com/nmslib/hnswlib/commit/c5c38f0> | ||
(20 September 2019). | ||
* A new method, `markDeleted`, that will remove an object from being retrieved | ||
from the index. | ||
* A new method, `resizeIndex`, that allows the index to be increased without | ||
having to save and reload the index. | ||
* A new method, `size` is available for the index objects and reports the | ||
number of items added to the index. | ||
|
||
|
||
## Bug fixes and minor improvements | ||
|
||
* `hnsw_search` would `stop` if the number of rows in the input matrix was | ||
smaller than `k`. This check has been removed. Note that the correct behavior is | ||
to ensure that `k` is smaller than or equal to `index$size()` where `index` is | ||
the index you are searching. Because the `size()` method is new to this version, | ||
to preserve compatibility with old indexes, this check *hasn't* been added to | ||
`hnsw_search`. If this matters to you, manually compare `index$size()` with `k` | ||
before running `hnsw_search`. An error will be thrown if `k` neighbors can't be | ||
found in the index. Thank you to [Yuxing Liao](https://github.com/yxngl) for | ||
spotting this and the pull request to remove the check. | ||
|
||
# RcppHNSW 0.1.0 | ||
|
||
Initial release. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.