Thierry Marianne
1287d9f0df
Fix typo
2015-04-05 22:07:41 +02:00
Tim Nagel
9c1c771799
Mark getSlice private
2015-03-14 19:54:01 +11:00
Tim Nagel
3bb2f384ba
Provider refactoring
2015-03-14 19:53:05 +11:00
Tim Nagel
84e5831a81
Fixing scrutinizer issues
2015-03-13 14:57:36 +11:00
Tim Nagel
4af9f442fd
Move common sorting code to base Transformer class
2015-03-13 14:56:07 +11:00
Tim Nagel
89db88c2a0
CS fixes for 3.1
2015-03-12 21:58:02 +11:00
Tim Nagel
345b5d423d
Merge cs-fixes-30 into cs-fixes-31
2015-03-12 21:57:26 +11:00
Tim Nagel
dd388e4b25
CS fixes
2015-03-12 21:20:00 +11:00
Tim Nagel
b7c7f77383
Merge branch 'pr/725'
...
Conflicts:
CHANGELOG-3.1.md
Doctrine/AbstractProvider.php
2015-03-11 22:10:54 +11:00
Tim Nagel
0009c858a7
Fixes for errors when with the progress closure
2015-03-11 21:31:23 +11:00
Tim Nagel
f834499a2c
Fixes after review
2015-03-11 15:54:04 +11:00
Tim Nagel
3d69c08b5a
Merge branch 'master' into pr/725
...
Conflicts:
Doctrine/AbstractProvider.php
2015-03-11 15:47:03 +11:00
Tim Nagel
67c0b79505
Tidy up ProgressBar use, move most calculations for loggerClosure
...
into PopulateCommand rather than in AbstractProvider
2015-01-25 19:53:58 +11:00
Pablo Martelletti
6bb2def21e
Use ProgressBar in populate commande when available.
2015-01-25 19:53:06 +11:00
Dmitry Korotovsky
d731443aa5
Avoid Doctrine\Listener::getSubscribedEvents() call on each page where doctrine is active
2015-01-04 20:05:47 +11:00
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
Nikolai Zujev
e6d50c584c
Clean filtered objects if the entire batch was filtered away, to prevent memory allocation issue.
2014-11-13 17:34:21 +02:00
Gnucki
901ea49a32
Factorize manager call
2014-11-02 14:22:26 +01:00
Gnucki
445f2f93f6
Add slice fetching abstraction
2014-10-13 15:40:31 +02:00
Gnucki
7fa7e44bee
Fix mongodb populate falling down performances for big collections
2014-10-08 10:44:49 +02:00
Tim Nagel
d0ce82ac2a
Adjust DoctrineListener to remove unnecessary method getDoctrineObject
2014-09-21 20:25:25 +10: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
Pablo
9befa90f41
Return repository in Manager Class MongoDB
2014-07-31 15:54:22 +10:00
Tim Nagel
ae3605828e
Fix AbstractProvider test
2014-06-24 10:19:26 +10:00
Tim Nagel
c97f0f1ddf
Fix provider bailing if the indexable service filters an entire batch of objects
2014-06-19 11:14:13 +10:00
Tim Nagel
aafb8c8e89
Fix indexable callbacks with alias based indexes
2014-06-17 12:03:38 +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
f8a445b46c
Fix disabling of logger in DoctrineProvider
2014-05-23 23:11:45 +10:00
Tim Nagel
2029aba76a
Ability for FOSElasticaBundle to disable persistence backend logging for population
...
Update documentation and changelog
2014-05-23 22:46:14 +10:00
caponica
b0841c18ec
Changed QueryBuilder method from ->where() to ->andWhere() so it works with customised QueryBuilders which have an existing where clause (instead of over-writing any existing DQL 'where' part)
2014-05-08 00:26:30 +01:00
Bob van de Vijver
449c33aea3
Fixes multiple updates on multiple flush executions
2014-04-12 13:30:52 +02:00
Tim Nagel
f93a7d278f
Merge pull request #532 from solocommand/master
...
Added support for getting documents in unified Doctrine Listener
2014-04-11 08:54:03 +10:00
Joshua Worden
4cfe24ae02
Update CS
2014-04-10 07:38:01 -05:00
Joshua Worden
22e5a1d4ab
CS fix
2014-04-07 10:58:11 -05:00
Evan Owens
53332eb057
Allow for catching/logging persistance errors per listener
2014-04-04 18:32:48 -04:00
Josh Worden
b6e2583455
Added getDoctrineObject method to retrieve an entity or document from a LifecycleEventArgs instance in the unified Listener class
2014-04-04 10:47:50 -05:00
Josh Worden
1628413e65
Added support for getting documents in unified Doctrine Listener
2014-04-02 10:06:24 -05:00
Tim Nagel
ec7f04a261
Merge pull request #515 from nurikabe/master
...
Clone entities on delete to preserve ids
2014-04-01 20:22:22 +11:00
nurikabe
0de48d2190
Use identifiers for bulk delete rather than cloning objects
2014-03-29 18:36:06 -04:00
nurikabe
361d80a720
Prevent division by zero error
2014-03-24 11:18:55 -04:00
nurikabe
720917f609
Clone entities on delete to preserve ids
2014-03-24 11:16:31 -04:00
Peter Mitchell
2009f88109
Make fetchSlice compatible with custom repo method
...
If a user configures query_builder_method for the doctrine provider, and
does not alias the root entity to equal Provider::ENTITY_ALIAS then a
DQL error will occur during index population.
> [Semantical Error] [...] near 'a.id ASC': Error: 'a' is not defined.
Provider::countObjects already handles this by dynamically fetching the
alias with QueryBuilder::getRootAliases, and Provider::fetchSlice should
be doing the same.
nb. "Provider" refers to FOS\ElasticaBundle\Doctrine\ORM\Provider
2014-03-19 08:40:58 -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
Tim Nagel
d03d494d30
Merge remote-tracking branch 'tgabi/stop-on-error'
2014-02-19 13:50:33 +11:00
Fabien Somnier
48b785e876
New method getMemoryUsage to get RAM information message
2014-02-03 18:12:20 +01:00
nurikabe
1dcaadbe6f
Bulk delete
2014-02-01 02:14:21 +00:00
Fabien Somnier
5e54dcd955
Add RAM (current & peak) in populate evolution information
2014-01-30 13:01:13 +01:00