-
-
Notifications
You must be signed in to change notification settings - Fork 887
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 namespace reference error #6788
Comments
Got the same issue. To summarize:
Was there a specific reason to drop ES7 compatibility in APIP 4? ES7 is not EOL. Support in apip was removed in this commit. My tests currently fail with:
|
We don't have the resources nor the time to maintain ES7 but you can always reintroduce its support in 4.x by adding the correct provider no? |
Yes that is absolutely possible. Would you accept a PR reintroducing ES7 compat? I think only the namespace to the v7 client has to be reintroduced; but I'll find out. Also; I can install
Only a custom provider wont do in this case, since I also would like to make use of the filters in the apip/es package. |
API Platform version(s) affected: 4.0.8
Description
Elasticsearch Support is restricted to
elasticsearch/elasticsearch:^7.11
.But in f.e. ApiPlatform\Elasticsearch\State\CollectionProvider the namespace for the Elasticsearch Client from
elasticsearch/elasticsearch:^8
seems to be used.How to reproduce
…
Possible Solution
Maybe I'm erroneous - I think this has to be changed to the
Elasticsearch\Client
namespace.Additional Context
…
The text was updated successfully, but these errors were encountered: