The bundle now works with Elastica version 5 and 6 (instead of 3.2). Please consider their changelog for an upgrade guide. One of the implications is that it also needs Elasticsearch version 5 or 6.
- Removed
sortIgnoreUnmappedsupport for Paginator.ignore_unmappedis not supported in ES 5.0 anymore. - Removed
ttlandtimestampsupport in configuration. These attributes are not supported in ES 5.0 anymore. - Removed Propel support.
The provider's related logic has been reworked completely (more in #1240 PR).
Legacy providers did a lot, so their responsibility was split apart into several objects.
A new PagerProvider is responsible for fetching object from database.
It should return an instance of PagerInterface. The pager provides a page-oriented access to objects.
There is a InPlacePagerPersister object that is responsible for iterating over a pager and persisting objects to the index.
It also dispatches different types of events, it helps developers to hook into the persisting process.
FOS\ElasticaBundle\DependencyInjection\Compiler\RegisterProvidersPassclass was removed. As well asfos_elastica.providertag.FOS\ElasticaBundle\Doctrine\AbstractProviderclass was removed.FOS\ElasticaBundle\Doctrine\SliceFetcherInterfaceclass was removed.FOS\ElasticaBundle\Doctrine\MongoDB\Providerclass was removed.FOS\ElasticaBundle\Doctrine\MongoDB\SliceFetcherclass was removed.FOS\ElasticaBundle\Doctrine\ORM\SliceFetcherclass was removed.FOS\ElasticaBundle\Doctrine\ORM\Providerclass was removed.FOS\ElasticaBundle\Doctrine\PHPCR\SliceFetcherclass was removed.FOS\ElasticaBundle\Doctrine\PHPCR\Providerclass was removed.FOS\ElasticaBundle\Provider\AbstractProviderclass was removed.FOS\ElasticaBundle\Provider\ProviderInterfaceclass was removed.FOS\ElasticaBundle\Provider\ProviderRegistryclass was removed.FOS\ElasticaBundle\Provider\ProviderRegistryclass was removed.