Skip to content

Commit

Permalink
fix: adapt to annlite changes (#543)
Browse files Browse the repository at this point in the history
  • Loading branch information
alaeddine-13 authored Sep 19, 2022
1 parent 14526db commit 5693b3a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docarray/array/storage/annlite/find.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def _find(
if n_rows == 1:
query = query.reshape(1, -1)

_, match_docs = self._annlite._search_documents(
_, match_docs = self._annlite.search_by_vectors(
query, limit=limit, filter=filter or {}, include_metadata=not only_id
)

Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
'qdrant-client~=0.7.3',
],
'annlite': [
'annlite>=0.3.10',
'annlite>=0.3.12',
],
'weaviate': [
'weaviate-client~=3.3.0',
Expand Down Expand Up @@ -103,7 +103,7 @@
'jupyterlab',
'transformers>=4.16.2',
'weaviate-client~=3.3.0',
'annlite>=0.3.10',
'annlite>=0.3.12',
'elasticsearch>=8.2.0',
'redis>=4.3.0',
'jina',
Expand Down

0 comments on commit 5693b3a

Please sign in to comment.