Commit graph

38 commits

Author SHA1 Message Date
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 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
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 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 e54cc3c243 Implement callback checking in the provider 2014-06-16 16:17:04 +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
nurikabe 361d80a720 Prevent division by zero error 2014-03-24 11:18:55 -04: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
Fabien Somnier 5e54dcd955 Add RAM (current & peak) in populate evolution information 2014-01-30 13:01:13 +01:00
Tóth Gábor bbacad4bab no-stop-on-error option added to populate command 2014-01-21 18:38:51 +01:00
Matyas Somfai 43e026500c added new options to fos:elastica:populate command and options array parameter to ProviderInterface
removed assume-yes option as the no-interaction option has the same purpose
2013-10-30 00:02:34 +01:00
Jeremy Mikola 3fb9aaa56a Rename FOQ namespaces and services to FOS 2013-03-27 13:44:06 -04:00
Julien Muetton a901304a59 remove trailing whitespace 2012-11-26 13:49:59 +01: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
Richard Miller 0e3fedf3fb Switched to manager registry for doctrine integration 2011-12-13 10:22:24 +00:00
Richard Miller 7832fbc61a Removed unused local variable 2011-12-11 23:17:54 +00:00
ornicar 6fee4131f4 Doctrine integration refactoring, adds realtime index updates 2011-06-07 11:16:19 -07:00
Jay Severson 09fe17d36b fixing missing use for exception 2011-05-18 12:40:35 -07:00
ornicar ecb9e85050 Add elasticsearch 0.16.0 support 2011-05-14 18:52:53 -07:00
ornicar 1eff840c99 Move doctrine related logic to Doctrine\ORM and Doctrine\MongoDB 2011-05-09 15:31:20 -07:00
Renamed from Provider/AbstractDoctrineProvider.php (Browse further)