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
sortIgnoreUnmapped
support for Paginator.ignore_unmapped
is not supported in ES 5.0 anymore. - Removed
ttl
andtimestamp
support 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\RegisterProvidersPass
class was removed. As well asfos_elastica.provider
tag.FOS\ElasticaBundle\Doctrine\AbstractProvider
class was removed.FOS\ElasticaBundle\Doctrine\SliceFetcherInterface
class was removed.FOS\ElasticaBundle\Doctrine\MongoDB\Provider
class was removed.FOS\ElasticaBundle\Doctrine\MongoDB\SliceFetcher
class was removed.FOS\ElasticaBundle\Doctrine\ORM\SliceFetcher
class was removed.FOS\ElasticaBundle\Doctrine\ORM\Provider
class was removed.FOS\ElasticaBundle\Doctrine\PHPCR\SliceFetcher
class was removed.FOS\ElasticaBundle\Doctrine\PHPCR\Provider
class was removed.FOS\ElasticaBundle\Provider\AbstractProvider
class was removed.FOS\ElasticaBundle\Provider\ProviderInterface
class was removed.FOS\ElasticaBundle\Provider\ProviderRegistry
class was removed.FOS\ElasticaBundle\Provider\ProviderRegistry
class was removed.