Skip to content

The elasticsearch/elasticsearch package is required for Elasticsearch support after installation #5009

Description

@lkaopremier

API Platform version(s) affected: 3.0

Description
After adding the elasticsearch/elasticsearch package, I got this error "The elasticsearch/elasticsearch package is required for Elasticsearch support.", When analyzing the source code of the version of elasticsearch I added I realized that the namespace declared in the elasticsearch client is different from the namespace used by Api Platform.

How to reproduce
Using version 3.0 of the Api platform and adding the latest version of the elasticsearch/elasticsearch package finally enabled elasticsearch in the configs, See the official doc.

Additional Context
Capture d’écran 2022-09-24 à 11 25 23
Capture d’écran 2022-09-24 à 11 30 33
Capture d’écran 2022-09-24 à 11 43 01

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions