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

Support Elasticsearch queries #143

Closed
m-adams opened this issue Mar 19, 2020 · 1 comment · Fixed by #156
Closed

Support Elasticsearch queries #143

m-adams opened this issue Mar 19, 2020 · 1 comment · Fixed by #156
Assignees

Comments

@m-adams
Copy link

m-adams commented Mar 19, 2020

As the data is being pulled from Elasticsearch, there is a whole range of search functions available that could be exposed to allow filtering of the data retrieved.
For example, analysed text and fuzzy queries could be used to identify a corpus for analysis in eland.

We could support this through something like mirroring the elasticsearch-py search functions
https://elasticsearch-py.readthedocs.io/en/master/api.html#elasticsearch.Elasticsearch.search
https://elasticsearch-py.readthedocs.io/en/master/api.html#elasticsearch.Elasticsearch.msearch

That way the user could choose between the pandas compatible/mirrored functions or the Elasticsearch specific extensions.

@stevedodson
Copy link
Contributor

++ on doing this, and it should be relatively easy to AND an ES query with any pandas functions - i.e. we could support pandas and ES DSL queries on the same eland.DataFrame.

@sethmlarson - nice issue to get into some of the core code. Happy to help if you need?

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 a pull request may close this issue.

3 participants