Commit graph

522 commits

Author SHA1 Message Date
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
Miguel Ibero 0c02025e51 Merge branch 'master' of git://github.com/Exercise/FOQElasticaBundle 2012-05-24 20:14:01 +02:00
Miguel Ibero f69e969898 fixed for consistency 2012-05-24 20:13:58 +02:00
Francisco Facioni 0d9e0f1172 Added knp paginator support
Bug fix: no
Feature addition: yes
Backwards compatibility break: no

Encapsulated Pagerfanta dependency for pagination and added support for knp pagination component
2012-05-24 11:35:19 -03:00
Francisco Facioni 5bea4da409 added index_analyzer and search_analyzer for type fields 2012-05-23 14:42:28 -03:00
Francisco Facioni d5778bda4b Added composer dependency to symfony/form 2012-05-21 15:00:56 -03: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
Francisco Facioni 08b4095687 Using PropertyPath for resolving what getter to use 2012-05-20 23:57:51 -03:00
Miguel Ibero ae80e3e4f3 added index_analyzer and search_analyzer type options 2012-05-17 13:00:53 +02:00
Richard Miller e61d0aac0f Updated no-reset option description 2012-05-15 07:48:04 +01:00
Richard Miller 6aa96dd227 Merge pull request #108 from pdaether/2.0
New Option "no-reset" for the populate command
2012-05-14 23:42:40 -07:00
William DURAND c1a6728be0 [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 20:20:25 +01:00
pdaether 486e78f3ee New Option no-reset for the populate command 2012-05-07 18:10:26 +02:00
pdaether becc902864 New Option no-reset for the populate command 2012-05-07 17:48:06 +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
Richard Miller 38d863e3ff Added tests attachment fixture 2012-05-01 20:09:04 +01:00
Richard Miller 146cf891cd Added transforming mapped attachments 2012-04-19 21:26:19 +01: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