diff --git a/README.md b/README.md index eff0065..e051c5f 100644 --- a/README.md +++ b/README.md @@ -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] ``` diff --git a/docs/source/changelog.rst b/docs/source/changelog.rst index dabb18e..b89c600 100644 --- a/docs/source/changelog.rst +++ b/docs/source/changelog.rst @@ -1,6 +1,11 @@ Changelog ============= +v0.2.9 (August 06, 2022) +---------------------------- +- `#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 `_, `#43 `_ Support Windows diff --git a/rii/__init__.py b/rii/__init__.py index cb03958..ce9d8f5 100644 --- a/rii/__init__.py +++ b/rii/__init__.py @@ -1,5 +1,5 @@ __all__ = ['Rii'] -__version__ = '0.2.8' +__version__ = '0.2.9' from .rii import Rii