Commit graph

1062 commits

Author SHA1 Message Date
Tim Nagel 62f6cf0f8a Merge pull request #565 from FriendsOfSymfony/elasticsearch-1.1
Elasticsearch 1.*
2014-05-06 16:39:45 +10:00
Lea Haensenberger 5da8ee1a16 still supporting 0.9 versions of elastica 2014-05-06 08:18:37 +02:00
Lea Haensenberger b1d64e358d Also cleanup fields in properties of objects 2014-05-05 13:39:36 +02:00
Lea Haensenberger eaa9f83997 remove empty fields arrays from mapping, this is not ignored anymore by elasticsearch 1.* 2014-05-05 13:39:36 +02:00
Lea Haensenberger ae02364e7c use elastica library 1.1 and higher 2014-05-05 13:39:36 +02:00
Tim Nagel ca50617776 Merge pull request #563 from PeerJ/UpdateElasticaDependency
Update Elastica Dependency
2014-05-03 11:28:52 +10:00
Patrick McAndrew d9f3fa1a59 commit 1dcaadbe6f
Persister/ObjectPersister.php
line 112: $this->type->updateDocuments($documents);
introduces a dependency on Elastica 0.9.10.0
2014-05-02 15:07:15 +01:00
Evan Villemez c93bbb9081 stop config from adding empty arrays into type mappings 2014-05-01 11:05:16 -04:00
Cassiano 39f1033a34 Update Configuration.php
Adding the option to set index_analyzer and search_analyzer to _all field.
2014-04-24 09:39:22 -03:00
Tim Nagel 90abc44968 Merge pull request #556 from ahmedmhmd/master
Revert declaring PaginateElasticaQuerySubscriber as a parameter, so not to break Knp compiler pass
2014-04-20 16:01:38 +10:00
Ahmed Mohamed c9fd1cc5d9 Revert declaring PaginateElasticaQuerySubscriber as a paremeter, so not to break Knp compiler pass 2014-04-20 06:11:20 +02:00
Tim Nagel 1748e9af18 Merge pull request #549 from ahmedmhmd/master
Ensure non-empty properties under fields mappings in case of auto-mapped objects exists along with manual ones
2014-04-20 11:52:03 +10:00
Ahmed Mohamed 806452813a Add test multiple objects mapping of at least one auto-mapped and at least one manually mapped 2014-04-20 03:41:41 +02:00
Tim Nagel 35700cdd78 Merge pull request #551 from piotrantosik/patch-1
Fix immediate doc
2014-04-20 10:20:47 +10:00
Tim Nagel dd7b8d3210 Merge pull request #555 from RuslanZavacky/master
More classes exposed as parameters in config.xml
2014-04-20 10:20:32 +10:00
Ruslan Zavacky 0dcb77d749 More classes exposed as parameters. 2014-04-19 18:31:56 +03:00
ben 2bd6aba7ef Added GeoShape mapping options 2014-04-18 13:57:08 +02:00
Piotr Antosik d33f2e547f Fix immediate doc 2014-04-17 10:14:53 +02:00
Tim Nagel b11d48fe89 Merge pull request #546 from bobvandevijver/master
Fixes multiple updates on multiple flush executions
2014-04-17 07:27:37 +10:00
Tim Nagel 8387667167 Merge pull request #534 from dylanschoenmakers/patch-1
Added example to usage.md
2014-04-16 18:28:11 +10:00
Ahmed Mohamed 4e638a0492 Ensure non-empty properties under fields mappings 2014-04-16 05:27:23 +02:00
Tim Nagel 165696a5a0 Bump Elastica requirement 2014-04-15 08:43:11 +10: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
Dylan Schoenmakers 088452cf88 Added example to usage.md
Added example for using a custom query builder method to usage.md.
2014-04-10 09:25:40 +02:00
Tim Nagel 1bc085141b Fix logger option for listeners 2014-04-10 13:14:03 +10:00
Tim Nagel a97ed80aee Merge branch 'nurikabe-master'
Conflicts:
	Resources/doc/types.md
2014-04-10 13:06:22 +10:00
Tim Nagel b3fdf7b256 Logger for a listener is false by default 2014-04-10 13:05:23 +10:00
nurikabe f07e55417d Re-throw exception if no logger defined 2014-04-07 16:16:37 -04:00
Joshua Worden 22e5a1d4ab CS fix 2014-04-07 10:58:11 -05:00
Tim Nagel d7302847e4 Merge pull request #542 from hugohenrique/patch-1
fix link to documentation of custom repositories
2014-04-07 09:11:12 +10:00
Hugo Henrique 998c69bfc3 Update usage.md
This link to documentation custom repositories is broken
2014-04-06 15:17:02 -03:00
nurikabe a483471694 Set listener loggers to fos_elastica.logger if null 2014-04-04 22:56:47 -04:00
Tim Nagel ab3587980c Merge pull request #539 from nurikabe/patch-2
Fix documentation about `immediate`
2014-04-05 10:34:09 +11:00
Tim Nagel 10fcbfc135 Merge pull request #538 from nurikabe/patch-1
Remove rogue paren
2014-04-05 10:30:36 +11:00
Evan Owens 53332eb057 Allow for catching/logging persistance errors per listener 2014-04-04 18:32:48 -04:00
Evan Owens 377b2843ba Fix documentation about immediate
Unless I misimplemented this, "immediate" means persist to ElasticSearch "immediately"; before flushing.  Default behavior is false; persist to ElasticSearch postFlush.
2014-04-05 07:12:16 +10:00
Evan Owens 10f6149f8c Remove rogue paren 2014-04-05 07:04:52 +10:00
Evan Owens 6f444f1ce8 Bulk upsert 2014-04-04 15:51:55 -04:00
nurikabe 49284a4963 Merge remote-tracking branch 'upstream/master' 2014-04-04 15:29:06 -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
Tim Nagel d67d525b66 Merge pull request #485 from piotrantosik/elastica-knp-paginator-sort
Added knp paginator sort functionality to PaginateElasticaQuerySubscribe
2014-04-04 08:46:40 +11:00
Piotr Antosik 1bc148569b Added knp paginator sort functionality to PaginateElasticaQuerySubscriber 2014-04-03 10:44:18 +02:00
Patrick Zahnd 13c2d10e39 Added knp paginator sort functionality to PaginateElasticaQuerySubscriber 2014-04-03 00:02:43 +02:00
Tim Nagel e74acb1e4f Revert "Avoid index reset error in case of unexistant index"
This reverts commit a121a77774.
2014-04-03 08:00:52 +11:00
Josh Worden 1628413e65 Added support for getting documents in unified Doctrine Listener 2014-04-02 10:06:24 -05:00
nurikabe a89856be50 Reset / create new index even if the index doesn't exist 2014-04-02 07:18:46 -04:00
Tim Nagel ff95945819 Merge pull request #527 from baggachipz/master
Upsert-type functionality for existing ORM Entities
2014-04-02 08:47:47 +11: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