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

[Elasticsearch] Support Async HTTP Client #132

Open
alexander-schranz opened this issue Mar 27, 2023 · 0 comments
Open

[Elasticsearch] Support Async HTTP Client #132

alexander-schranz opened this issue Mar 27, 2023 · 0 comments
Labels
Adapter: Elasticsearch Elasticsearch Adapter releated issue features New feature or request

Comments

@alexander-schranz
Copy link
Member

Currently only sync http client is supported:

https://github.com/schranz-search/schranz-search/blob/dbf8196bd64bd9b1aa88a628857b8d423a265da6/packages/seal-elasticsearch-adapter/ElasticsearchAdapter.php#L28

It should be possible to use async client also. For this Indexer, SchemaManager, Searcher need to be updated. As there currently only sync Elasticsearch object is supported and not the Async Promise:

https://github.com/schranz-search/schranz-search/blob/dbf8196bd64bd9b1aa88a628857b8d423a265da6/packages/seal-elasticsearch-adapter/ElasticsearchIndexer.php#L36

@alexander-schranz alexander-schranz added features New feature or request Adapter: Elasticsearch Elasticsearch Adapter releated issue labels Mar 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Adapter: Elasticsearch Elasticsearch Adapter releated issue features New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant