Skip to content
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

Add Elasticsearch Query DSL compliant Query API #471

Merged
merged 3 commits into from
Oct 16, 2020
Merged

Add Elasticsearch Query DSL compliant Query API #471

merged 3 commits into from
Oct 16, 2020

Conversation

lalitpagaria
Copy link
Contributor

@lalitpagaria lalitpagaria commented Oct 6, 2020

To complete #429

Using very dummy way to convert request object in ES Query DSL to Question object. As this simple conversion hence there is no need to add other 3 party libs.

@tanaysoni Please share your feedback and also check TODO: comments

Copy link
Contributor

@tanaysoni tanaysoni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this @lalitpagaria!

rest_api/controller/search.py Outdated Show resolved Hide resolved
rest_api/controller/search.py Outdated Show resolved Hide resolved
rest_api/controller/search.py Outdated Show resolved Hide resolved
rest_api/controller/search.py Outdated Show resolved Hide resolved
@lalitpagaria lalitpagaria changed the title WIP: Add Elasticsearch Query DSL compliant Query API Add Elasticsearch Query DSL compliant Query API Oct 12, 2020
from haystack import Finder
from haystack.retriever.sparse import ElasticsearchRetriever

# TODO: Add integration tests for other APIs
Copy link
Contributor Author

@lalitpagaria lalitpagaria Oct 12, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not part of this PR hence adding comment and tests can be added with another PRs

@lalitpagaria
Copy link
Contributor Author

@tanaysoni PR is ready for the full review.

@lalitpagaria
Copy link
Contributor Author

@tanaysoni Just checking if you got a chance to review this PR.

@tanaysoni
Copy link
Contributor

Thank you @lalitpagaria for working on it! It looks good-to-go 🚀

@tanaysoni tanaysoni merged commit b9da789 into deepset-ai:master Oct 16, 2020
@lalitpagaria
Copy link
Contributor Author

Thanks @tanaysoni

@lalitpagaria lalitpagaria deleted the add_query_endpoint_with_es_dsl branch October 16, 2020 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants