-
Notifications
You must be signed in to change notification settings - Fork 268
Supporting ASGi #286
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
Comments
I do not know how it is possible. Seems like async connection is new in elasticsearch-py. need to wait untill elasticsearch-dsl supports it. |
How is the client usually set for Elasticsearch? Is it even set in this repository? It should just be the same way for async. |
@Andrew-Chen-Wang You can set the client while search I think by passing the client manually to elasticsearch-dsl |
Ah I see. So for the Django settings, like this: |
BTW: There is no native async support in Elasticsearch-DSL but it's on my priority list. |
@Andrew-Chen-Wang Seems like it is not supported by elasticsearch-dsl still! I would suggest you to wait untill it get upstream support. BTW, Thanks @sethmlarson for keeping eye on this project! 😃😁 |
I see, thank you! |
@belegnar Seems to just be the low level client. I think this package uses DSL version which doesn't seem to support async yet. |
Looks like support was merged in #1714, is there anything else blocking async support here now that support is merged for |
Hi! Thanks for keeping this package alive!
I'm pushing for a lot of async features for Django, and I happened to need web sockets for autocomplete. The Elasticsearch-py documentation specifies that https://elasticsearch-py.readthedocs.io/en/master/async.html#elasticsearch.AsyncElasticsearch we'd need some kind of Connection class but I can't seem to find that for this.
How would I implement this? Thanks!
The text was updated successfully, but these errors were encountered: