- [ ] create a specific `Elasticsearch\Metadata\Operation`, `Elasticsearch\Metadata\Get`, `Elasticsearch\Metadata\GetCollection` for elasticsearch (https://github.com/api-platform/core/pull/5213) - [ ] link the ItemProvider and CollectionProvider when an Elasticsearch operation is found, via a ResourceCollectionMetadataFactory (https://github.com/api-platform/core/pull/5213) - [ ] deprecate old elasticsearch mapping via configuration - [ ] deprecate `ApiPlatform\Elasticsearch\Metadata\Document\DocumentMetadata` and related elasticsearch things - [ ] check that the old `ApiResource(elasticsearch: true)` still works - [ ] try to configure Elasticsearch via xml/yaml - [ ] check that we can fix some of the reported issues insides [pull requests](https://github.com/api-platform/core/pulls?q=is%3Apr+is%3Aopen+elasticsearch) and [issues](https://github.com/api-platform/core/issues?q=is%3Aissue+is%3Aopen+elasticsearch) with this (especially if we need to add ES specific options). For example I think that the actualy logic is wrong in the ES metadata factory (see https://github.com/api-platform/core/pull/5272 and linked issue, https://github.com/api-platform/core/pull/4820) @davy-beauzil and @MatTheCat
Elasticsearch\Metadata\Operation,Elasticsearch\Metadata\Get,Elasticsearch\Metadata\GetCollectionfor elasticsearch (refactor(elasticsearch): merge metadata to Operation #5213)ApiPlatform\Elasticsearch\Metadata\Document\DocumentMetadataand related elasticsearch thingsApiResource(elasticsearch: true)still worksFor example I think that the actualy logic is wrong in the ES metadata factory (see #5272 and linked issue, #4820)
@davy-beauzil and @MatTheCat