Skip to content

Commit 9991051

Browse files
authored
Merge pull request #48 from matsui528/followup
Update the version to 0.2.9
2 parents c3bce1c + 367775d commit 9991051

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,10 @@ e = rii.Rii(fine_quantizer=nanopq.PQ(M=32).fit(vecs=Xt)).add_configure(vecs=X)
113113

114114
```python
115115
# The search can be conducted over a subset of the database
116-
target_ids = np.array([85, 132, 236, 551, 694, 728, 992, 1234], dtype=np.int64) # Specified by IDs
116+
target_ids = np.array([85, 132, 236, 551, 694, 728, 992, 1234]) # Specified by IDs
117+
# For windows, you must specify dtype=np.int64 as follows.
118+
# target_ids = np.array([85, 132, 236, 551, 694, 728, 992, 1234], dtype=np.int64)
119+
117120
ids, dists = e.query(q=q, topk=3, target_ids=target_ids)
118121
print(ids, dists) # e.g., [728 85 132] [14.80522156 15.92787838 16.28690338]
119122
```

docs/source/changelog.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=============
33

4+
v0.2.9 (August 06, 2022)
5+
----------------------------
6+
- `#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.
7+
8+
49
v0.2.8 (September 12, 2021)
510
----------------------------
611
- `#42 <https://github.com/matsui528/rii/pull/42>`_, `#43 <https://github.com/matsui528/rii/pull/43>`_ Support Windows

rii/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
__all__ = ['Rii']
2-
__version__ = '0.2.8'
2+
__version__ = '0.2.9'
33

44
from .rii import Rii
55

0 commit comments

Comments
 (0)