Sébastien Lavoie
408b7aeebe
Changed ObjectPersiter::transformToElasticaDocument from protected to public to allow usage as a converter service
2012-05-29 14:28:20 -04:00
Jeremy Mikola
2b858f0e42
Merge pull request #114 from willdurand/update-wdt-view
...
Updated collector view to fit the new WDT
2012-05-21 10:49:13 -07:00
William DURAND
303e48c8c6
Updated collector view to fit the new WDT
2012-05-21 10:09:58 +02:00
William DURAND
836481aff7
[Propel] Added new method to return a query to use in
...
findByIdentifiers().
That way, it's easier to override the default ElasticaToModelTransformer
class.
2012-05-07 15:07:56 +02:00
Richard Miller
5a28372abf
Merge branch '2.0'
2012-05-05 17:02:34 +01:00
nurikabe
16f621b78f
Somewhat clearer exception when Elastica results do not match Doctrine objects. Consistent behavior for both transform() and hybrdidTrasnform().
2012-05-05 17:02:13 +01:00
nurikabe
68e73366d9
Throw a more meaningful error when the number of items retrieved by Doctrine is less than the number of items from ElasticSearch.
2012-05-05 17:02:00 +01:00
fran6co
02009c28b0
Minor improvement, using an intermediate variable to hold the transformed objects
2012-05-05 17:00:56 +01:00
fran6co
927030914c
Fixed bug when a transformer returns objects of different classes.\n The doctrine transformer can generate this kind of situations whene it returns proxy objects.
2012-05-05 17:00:42 +01:00
William DURAND
da194b581c
Made persister services public to use them
2012-05-05 16:59:52 +01:00
Richard Miller
bb57c84aff
Merge pull request #98 from nurikabe/patch-1
...
Throw RuntimeException when all Elastica objects cannot be found via Doctrine
2012-05-05 08:56:04 -07:00
Richard Miller
a741ea804b
Merge pull request #106 from willdurand/public-persister-services
...
Made persister services public to use them
2012-05-05 08:54:53 -07:00
Richard Miller
99c1826d6d
Merge pull request #103 from Fran6co/fix-transformer
...
Fixed bug when a transformer returns objects of different classes
2012-05-05 08:54:10 -07:00
William DURAND
effd3583a4
Made persister services public to use them
2012-05-04 16:54:02 +02:00
Oleg Zinchenko
0fab7ff7c1
Merge pull request #105 from willdurand/fix-propel-impl
...
Fixed propel implementation
2012-05-04 07:21:40 -07:00
fran6co
cb20c4015e
Minor improvement, using an intermediate variable to hold the transformed objects
2012-05-04 11:05:57 -03:00
William DURAND
6956662e88
Fixed propel implementation
2012-05-04 15:45:30 +02:00
Richard Miller
5834643d46
Merge branch '2.0'
...
Conflicts:
composer.json
2012-05-04 12:23:06 +01:00
Richard Miller
f9cab6e48d
Update Elastica version required in composer.json
...
Conflicts:
composer.json
2012-05-04 12:22:12 +01:00
Chris Jones
9fa452f314
Updating break from v0.19.3.0
2012-05-04 12:18:51 +01:00
fran6co
1c1c33d327
Fixed bug when a transformer returns objects of different classes.\n The doctrine transformer can generate this kind of situations whene it returns proxy objects.
2012-05-02 23:06:41 -03:00
Richard Miller
cbef5ac26d
Merge remote-tracking branch 'origin/2.0'
2012-05-02 09:17:48 +01:00
Richard Miller
21abb977ac
Update .travis.yml to remove invalid composer option
2012-05-02 10:12:44 +02:00
Richard Miller
123816795a
Update Elastica version required in composer.json
2012-05-02 10:08:48 +02:00
Richard Miller
77961ffcd9
Merge pull request #101 from leek/patch-1
...
Updating break from `v0.19.3.0`
2012-05-02 01:04:02 -07:00
Chris Jones
a8fcfbbb1e
Updating break from v0.19.3.0
2012-05-01 19:06:28 -03:00
Jeremy Mikola
38bdc44185
Support service ID's and class names in is_indexable_callback
2012-04-19 12:18:30 -04:00
Jeremy Mikola
3ec4a48484
Allow variable types for is_indexable_callback options
...
Actual checking (string, array callback or Closure) is done in the Listener class itself.
2012-04-19 11:43:35 -04:00
nurikabe
4b30686359
Somewhat clearer exception when Elastica results do not match Doctrine objects. Consistent behavior for both transform() and hybrdidTrasnform().
2012-04-19 15:05:18 +01:00
nurikabe
ccc920d46b
Throw a more meaningful error when the number of items retrieved by Doctrine is less than the number of items from ElasticSearch.
2012-04-18 14:39:32 -03:00
Jeremy Mikola
a39170060f
Document arguments passed to is_indexable_callback
2012-04-17 13:43:18 -03:00
Jeremy Mikola
5f5ee8a15d
Merge branch '2.0'
2012-04-17 12:21:11 -04:00
Jeremy Mikola
96776e34ad
Merge pull request #85 from nurikabe/2.0
...
Allow "_source" configuration.
2012-04-17 09:20:42 -07:00
Jeremy Mikola
3b715f2fdd
Merge pull request #93 from Exercise/listener-check-method
...
Listener check method
2012-04-17 08:00:54 -07:00
Jeremy Mikola
a15dd2a411
[Listener] Revise is_indexable_callback documentation
2012-04-16 12:45:10 -04: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
9613392e8b
Merge branch '2.0'
...
Conflicts:
Command/PopulateCommand.php
2012-04-10 17:54:52 -04:00
Jeremy Mikola
c3391d957a
Add suggested Doctrine and Propel deps for test suite coverage
2012-04-10 17:51:02 -04:00
Jeremy Mikola
7f05e8311a
Skip Doctrine tests if libraries are not available
...
Conflicts:
Tests/Doctrine/RepositoryManagerTest.php
2012-04-10 17:50:27 -04:00
r1pp3rj4ck
0f46f4b96d
[Listener] Allow conditional indexing based on callback method
...
Added optional is_indexable_callback config param to persistence. If this is a method on the entity, the listener will only process it if the method returns true. Also updated documentation.
2012-04-10 14:36:25 -04:00
Jeremy Mikola
3863b2dba8
Merge pull request #92 from Exercise/suggested-deps
...
Add suggested Doctrine and Propel deps for test suite coverage
2012-04-10 11:35:41 -07:00
Jeremy Mikola
22789c1b01
Add suggested Doctrine and Propel deps for test suite coverage
2012-04-10 14:35:08 -04:00
Jeremy Mikola
d6dbefe969
Merge pull request #91 from matteosister/is_callable
...
is_callable instead of method_exists
2012-04-09 09:43:42 -07:00
matteosister
bd127e6991
is_callable instead of method_exists
2012-04-09 18:17:55 +02:00
Jeremy Mikola
c30bbd0c34
Merge pull request #90 from matteosister/patch-1
...
a small typo already fixed in master but not here
2012-04-09 07:53:58 -07:00
Matteo Giachino
4a087e2b83
a small typo already fixed in master but not here
2012-04-08 01:19:48 +03:00
nurikabe
87f1141d2e
Remove addDefaultsIfNotSet() on prototyped array node.
2012-04-02 14:15:12 -04:00
nurikabe
99c6aa9ac7
Allow "_source" configuration as per https://github.com/Exercise/FOQElasticaBundle/issues/83 .
2012-04-02 13:53:51 -04:00
Jeremy Mikola
24ca952d46
Update service tag for Doctrine MongoDB ODM listeners
...
See: doctrine/DoctrineMongoDBBundle#80
2012-03-23 15:02:00 -04:00