-
Notifications
You must be signed in to change notification settings - Fork 238
'AnnLite' object has no attribute '_search_documents' #546
Copy link
Copy link
Closed
Description
I'm running the example tutorial "Example of .find with query vector and filter", link: (https://docarray.jina.ai/advanced/document-store/annlite/#example-of-find-with-query-vector-and-filter ), but I got an error as following:
[/usr/local/lib/python3.7/dist-packages/docarray/array/storage/annlite/find.py](https://localhost:8080/#) in _find(self, query, limit, only_id, filter, **kwargs)
38 query = query.reshape(1, -1)
39
---> 40 _, match_docs = self._annlite._search_documents(
41 query, limit=limit, filter=filter or {}, include_metadata=not only_id
42 )
AttributeError: 'AnnLite' object has no attribute '_search_documents'
I did a search on Google and the Issues tag but find nothing.
I tried installing DocArray with Annlite in both styles but the error still remains:
pip install docarray[annlite]
and
pip install docarray annlite
Is there anything I can do to fix this problem?
Runtime environment: Google Colab.
P.s: I've already run this example before, and there are no errors.
Thank you for your helps.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels