Nikolai Zujev
c45dcd955d
Clean filtered objects if the entire batch was filtered away, to prevent memory allocation issue.
2014-12-01 09:47:32 +11:00
Tim Nagel
1d5fe44ca4
Fix CS from scrutiniser-ci
2014-09-21 20:12:30 +10:00
Lukasz Cybula
9a5b80e723
Ignore missing Doctrine results during hybridTransform()
2014-07-31 14:13:01 +02:00
Tim Nagel
f6264f4149
Fix AbstractProvider tests
2014-06-24 10:30:31 +10:00
Tim Nagel
aafb8c8e89
Fix indexable callbacks with alias based indexes
2014-06-17 12:03:38 +10:00
Tim Nagel
94568d9554
Merge pull request #608 from merk/populate-indexable
...
Indexable callback refactoring, implemented callback in Provider
2014-06-17 10:11:46 +10:00
Tim Nagel
0383811834
Fix test, add test for failing mappings
2014-06-16 23:28:53 +10:00
Tim Nagel
e54cc3c243
Implement callback checking in the provider
2014-06-16 16:17:04 +10:00
Tim Nagel
66d2410999
Move Indexable callback calculations to a new service
2014-06-16 15:57:42 +10:00
Tim Nagel
f20392d78b
Fix test failures for DoctrineProvider
2014-05-23 23:19:55 +10:00
nurikabe
0de48d2190
Use identifiers for bulk delete rather than cloning objects
2014-03-29 18:36:06 -04:00
nurikabe
720917f609
Clone entities on delete to preserve ids
2014-03-24 11:16:31 -04:00
Tim Nagel
857c1c8e48
Merge pull request #415 from nurikabe/master
...
Refactoring to update ElasticSearch index in postFush
2014-03-17 09:11:43 +11:00
Karel Souffriau
41bf07ec59
Fixed issues in #426
2014-02-19 12:19:34 +01:00
nurikabe
559d7c13f2
Update tests
2014-02-01 03:37:47 +00:00
Tóth Gábor
bbacad4bab
no-stop-on-error option added to populate command
2014-01-21 18:38:51 +01:00
nurikabe
4a4716a55b
Merge remote-tracking branch 'upstream/master'
2014-01-11 16:38:29 +00:00
nurikabe
7481376835
Use bulk insert. Still working on bulk update/delete which is not yet suppored in Elastica.
2014-01-11 16:28:15 +00:00
nurikabe
1d700261ab
Refactor to a single Listener class. Update tests.
2013-12-02 12:42:04 +00:00
Luis Cordova
cacb40286c
clean ups
2013-11-20 08:11:15 -05:00
Tim Nagel
3c26f157aa
Merge branch '2.1.x'
...
Conflicts:
Tests/ResetterTest.php
2013-11-11 13:30:29 +11:00
Tim Nagel
52d5d0d55f
Remove incorrect copyright header
2013-11-11 13:21:36 +11:00
Tim Nagel
9b6b0b0148
Add query_builder_method option to the transformers
2013-11-11 13:14:02 +11:00
Pierre du Plessis
97c98a0243
Add Symfony ExpressionLanguage support for indexable callback
2013-11-04 00:09:21 +02: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
Jeremy Mikola
86cdaa7c3c
[Listener] Support additional indexable callback types
...
Support service/method tuples as indexable callbacks. Closures are also supported, although they cannot be injected by the service container.
The indexable callback is now injected via a setter and validated when set (instead of during event processing).
2012-04-16 12:30:30 -04:00
Jeremy Mikola
78a36c196d
[Listener] Use common AbstractListenerTest for ORM and MongoDB ODM
2012-04-16 12:29:25 -04:00
Jeremy Mikola
f559700766
Fix typo in Doctrine/AbstractProviderTest
2012-03-12 14:13:54 -04:00
Jeremy Mikola
e09225eb09
[Provider] Change provider construction (possible BC break)
...
* Created AbstractProvider class (for all DB services), which handles the default batch_size option.
* The logger Closure is now optional for populate().
* Removed unused Elastica_Type argument from Provider constructors.
* Added unit tests for Doctrine's AbstractProvider class.
* The extra argument (ManagerRegistry) for Doctrine providers is now an appended constructor argument, so the extension no longer needs to use different replacement indexes for Propel/Doctrine providers.
2012-03-12 12:07:51 -04:00
Jeremy Mikola
3eb923cc84
Skip Doctrine tests if libraries are not available
2012-03-06 20:22:34 -05:00
Richard Miller
d67cd8f9ba
Merge remote-tracking branch 'origin/2.0'
2012-02-03 12:40:42 +00:00
Richard Miller
81bd07a90b
Updated identifier field fetching in listener
2012-02-02 19:37:49 +00:00
Richard Miller
1d2887a83b
Cleaned up doctrine removal fix changes
2012-01-26 09:59:58 +00:00
Richard Miller
65be0a415e
Fixing issue with removing mapped Doctrine entities/documents
2012-01-25 19:51:10 +00:00
Richard Miller
2d1ce1f98a
Added tests for Doctrine Listeners
2012-01-05 23:00:53 +00:00
Richard Miller
539bbebdd5
Added tests for Doctrine Listeners
2012-01-05 22:56:16 +00:00
Richard Miller
ba976e3a41
Extracted the Doctine specific parts of the Repository Manager
2011-12-23 15:29:01 +00:00