Damien Alexandre
3027c687e2
Ref #341 , fix the insertMany method to use Bulk indexing
...
To make it works, I inject the serializer defined for the Type
into the fos_elastica.object_serializer_persister service.
This is the SAME service injected in the setSerializer of Type.
We deport the handling of serialization outside Elastica,
this is not so good but we need to build our own Documents to
get the ID's correctly.
2013-11-29 15:35:59 +01:00
Lea Haensenberger
d10e8f56c8
Tests for new provider and new transformer
2013-07-17 10:10:07 +02:00
Lukas Kahwe Smith
aafb6e53fb
made the bundle compatible with Elastica 0.20.x
2013-04-26 14:10:05 +02:00
Karel Souffriau
83e27ede93
Require PropertyAccess component
2013-04-04 21:51:03 +02:00
Jeremy Mikola
2e7d2f2452
Support Symfony 2.2 PropertyAccess with BC for 2.1 ( closes #218 )
...
By abstracting the property access, we can easily support Symfony 2.1's Form component and 2.2's PropertyAccess component.
The PropertyAccessor service will be injected into transformers if it is available. Tests were modified to do the same, and expect the appropriate exception depending on which implementation is available.
2013-03-27 17:26:47 -04:00
Jeremy Mikola
440c36f537
Merge remote-tracking branch 'cevou/master' into pr/245
...
Conflicts:
Command/PopulateCommand.php
Command/SearchCommand.php
DependencyInjection/Configuration.php
Doctrine/AbstractElasticaToModelTransformer.php
Doctrine/AbstractListener.php
Doctrine/MongoDB/ElasticaToModelTransformer.php
Doctrine/ORM/ElasticaToModelTransformer.php
Doctrine/RepositoryManager.php
Finder/TransformedFinder.php
Paginator/PaginatorAdapterInterface.php
Paginator/RawPaginatorAdapter.php
Persister/ObjectPersister.php
Propel/ElasticaToModelTransformer.php
Subscriber/PaginateElasticaQuerySubscriber.php
Tests/DataCollector/ElasticaDataCollectorTest.php
Tests/Doctrine/AbstractProviderTest.php
Tests/Doctrine/RepositoryManagerTest.php
Tests/Manager/RepositoryManagerTest.php
Tests/RepositoryTest.php
Transformer/ElasticaToModelTransformerCollection.php
composer.json
2013-03-27 14:58:34 -04:00
Jeremy Mikola
3fb9aaa56a
Rename FOQ namespaces and services to FOS
2013-03-27 13:44:06 -04:00
cevou
cbe6071969
Code cleanup
...
- updated deprecated calls
- cleaned up PHPDoc comments
2013-03-02 12:23:44 +01:00
Richard Miller
7a8664727c
Merge remote-tracking branch 'origin/attachment_type_transformation'
...
Conflicts:
Tests/Transformer/ModelToElasticaAutoTransformerTest.php
Transformer/ModelToElasticaAutoTransformer.php
2012-07-08 15:38:09 +01:00
Richard Miller
d0085057d5
Fixed modifier issue in Test
2012-06-13 17:22:13 +01:00
Richard Miller
146cf891cd
Added transforming mapped attachments
2012-04-19 21:26:19 +01:00
William DURAND
19ae10ae27
Fixed unit test (phpunit doesn\'t allow to expect the base Exception class)
2011-12-20 17:46:36 +01:00
Richard Miller
e38d7f3bc5
Updated ObjectPersisterTest to reflect change in ObjectPersister object
2011-11-12 20:09:48 +00:00
Leszek
b06c268f05
Added Object Persister Test. Made test skipped when elastica library classes are not found.
2011-07-28 22:37:54 +02:00