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
e6d50c584c
Clean filtered objects if the entire batch was filtered away, to prevent memory allocation issue.
2014-11-13 17:34:21 +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
nurikabe
b6d010a9d7
Bulk update. Still working on bulk delete for indexes and types in Elastica.
2014-01-23 16:20:11 +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
3bd9155f46
Use constants of corresponding events classes rather than making assumption about string values.
2013-12-13 17:51:15 +00:00
nurikabe
22a5d67d05
pre/postFlush configuration. Update documentation.
2013-12-03 20:41:26 +00:00
nurikabe
af2827df01
Re-add renamed Listener.
2013-12-03 14:01:21 +00:00
nurikabe
1d700261ab
Refactor to a single Listener class. Update tests.
2013-12-02 12:42:04 +00:00
nurikabe
5ec652063d
Don't need postRemove.
2013-12-01 21:48:41 +00:00
nurikabe
f258c9ddc0
Exploratory development for https://github.com/FriendsOfSymfony/FOSElasticaBundle/issues/410
2013-12-01 21:17:55 +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
Matyas Somfai
3f784b0a5b
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-11-11 13:23:28 +11:00
Tim Nagel
9b6b0b0148
Add query_builder_method option to the transformers
2013-11-11 13:14:02 +11:00
Pierre du Plessis
f972b4af59
Fixed CS
2013-11-04 08:50:41 +02:00
Pierre du Plessis
97c98a0243
Add Symfony ExpressionLanguage support for indexable callback
2013-11-04 00:09:21 +02:00