Skip to content

Commit

Permalink
Merge pull request #48 from matsui528/followup
Browse files Browse the repository at this point in the history
Update the version to 0.2.9
  • Loading branch information
matsui528 authored Aug 6, 2022
2 parents c3bce1c + 367775d commit 9991051
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,10 @@ e = rii.Rii(fine_quantizer=nanopq.PQ(M=32).fit(vecs=Xt)).add_configure(vecs=X)

```python
# The search can be conducted over a subset of the database
target_ids = np.array([85, 132, 236, 551, 694, 728, 992, 1234], dtype=np.int64) # Specified by IDs
target_ids = np.array([85, 132, 236, 551, 694, 728, 992, 1234]) # Specified by IDs
# For windows, you must specify dtype=np.int64 as follows.
# target_ids = np.array([85, 132, 236, 551, 694, 728, 992, 1234], dtype=np.int64)

ids, dists = e.query(q=q, topk=3, target_ids=target_ids)
print(ids, dists) # e.g., [728 85 132] [14.80522156 15.92787838 16.28690338]
```
Expand Down
5 changes: 5 additions & 0 deletions docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=============

v0.2.9 (August 06, 2022)
----------------------------
- `#45 <https://github.com/matsui528/rii/pull/45>`_ Support for modern Windows CI (windows-2022). Support Python 3.9 and 3.10. Drop the support for Python 3.5.


v0.2.8 (September 12, 2021)
----------------------------
- `#42 <https://github.com/matsui528/rii/pull/42>`_, `#43 <https://github.com/matsui528/rii/pull/43>`_ Support Windows
Expand Down
2 changes: 1 addition & 1 deletion rii/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
__all__ = ['Rii']
__version__ = '0.2.8'
__version__ = '0.2.9'

from .rii import Rii

0 comments on commit 9991051

Please sign in to comment.