-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
attributeError: 'SQLDocumentStore' object has no attribute 'query' #20
Comments
Hey @laifuchicago, The ElasticsearchRetriever is only compatible with an ElasticsearchDocumentStore as it relies on the indexing and scoring functions of ES. It seems that you passed a SQLDocumentStore to the retriever. We will add a clearer Error Message here to avoid any confusion in the future... |
Thank you, it can be used now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To author:
I have changed the retriever to Elasticsearch, but got the following error, do you have any idea about it?
The text was updated successfully, but these errors were encountered: