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
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
Antonio J. García Lagar
170864a30d
Removes sort call
2013-07-04 08:07:00 +02:00
Antonio J. García Lagar
b11b4299ef
An orderBy DQL part is required to avoid feching the same row twice
2013-06-19 12:36:59 +02:00
Jeremy Mikola
814460dbf2
Merge branch '2.1.x'
2013-05-15 10:58:47 -05:00
Tim Nagel
00b67fd8a4
Ignore missing index hits
2013-05-15 09:59:43 -05:00
Lukas Kahwe Smith
813f57e3d0
added purge command
2013-04-26 19:46:15 +02:00
Karel Souffriau
83e27ede93
Require PropertyAccess component
2013-04-04 21:51:03 +02:00
ShurtMaiden
1f26318875
Avoid using a feature not supported in PHP5.3
2013-03-28 12:15:02 +01:00
Jeremy Mikola
440c36f537
Merge remote-tracking branch 'cevou/master' into pr/245
...
Conflicts:
Command/PopulateCommand.php
Command/SearchCommand.php
DependencyInjection/Configuration.php
Doctrine/AbstractElasticaToModelTransformer.php
Doctrine/AbstractListener.php
Doctrine/MongoDB/ElasticaToModelTransformer.php
Doctrine/ORM/ElasticaToModelTransformer.php
Doctrine/RepositoryManager.php
Finder/TransformedFinder.php
Paginator/PaginatorAdapterInterface.php
Paginator/RawPaginatorAdapter.php
Persister/ObjectPersister.php
Propel/ElasticaToModelTransformer.php
Subscriber/PaginateElasticaQuerySubscriber.php
Tests/DataCollector/ElasticaDataCollectorTest.php
Tests/Doctrine/AbstractProviderTest.php
Tests/Doctrine/RepositoryManagerTest.php
Tests/Manager/RepositoryManagerTest.php
Tests/RepositoryTest.php
Transformer/ElasticaToModelTransformerCollection.php
composer.json
2013-03-27 14:58:34 -04:00
Jeremy Mikola
3fb9aaa56a
Rename FOQ namespaces and services to FOS
2013-03-27 13:44:06 -04:00
cevou
b03ee7cc76
Removed property path changes again
2013-03-04 21:20:55 +01:00
cevou
cbe6071969
Code cleanup
...
- updated deprecated calls
- cleaned up PHPDoc comments
2013-03-02 12:23:44 +01:00
Richard Miller
8fde6b235c
Merge branch '2.0'
...
Conflicts:
Transformer/ElasticaToModelTransformerCollection.php
2012-11-28 21:15:13 +00:00
Julien Muetton
a901304a59
remove trailing whitespace
2012-11-26 13:49:59 +01:00
Richard Miller
5f1e1326d5
Fixing identifier field not being set in TransformerCollection
2012-09-24 23:15:05 +01:00
Richard Miller
b05af88931
Merge branch '2.0'
...
Conflicts:
Doctrine/AbstractElasticaToModelTransformer.php
2012-08-07 19:14:16 +01:00
nurikabe
37f3d656b5
Remove really old-school comment-based archival mechanism.
2012-07-16 13:08:26 -04:00
nurikabe
0c21eb4333
Highlightable models.
2012-07-16 11:49:28 -04:00
Richard Miller
2732296aed
Merge branch '2.0'
...
Conflicts:
Doctrine/AbstractElasticaToModelTransformer.php
Doctrine/MongoDB/ElasticaToModelTransformer.php
Doctrine/ORM/ElasticaToModelTransformer.php
composer.json
2012-07-10 21:37:23 +01:00
Richard Miller
1626910299
Removed unneccesary argument from findByIdentifiers methods
2012-07-10 21:28:31 +01:00
Francisco Facioni
08b4095687
Using PropertyPath for resolving what getter to use
2012-05-20 23:57:51 -03: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
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
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
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
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
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
Jeremy Mikola
7a9255a9ed
Merge remote-tracking branch 'origin/2.0'
2012-02-25 17:41:18 -05:00
Tim Nagel
76f447ba7d
Hybrid finder results
2012-02-24 09:50:46 +11:00
Richard Miller
d67cd8f9ba
Merge remote-tracking branch 'origin/2.0'
2012-02-03 12:40:42 +00:00
Richard Miller
81bd07a90b
Updated identifier field fetching in listener
2012-02-02 19:37:49 +00:00
Richard Miller
1d2887a83b
Cleaned up doctrine removal fix changes
2012-01-26 09:59:58 +00:00
Richard Miller
65be0a415e
Fixing issue with removing mapped Doctrine entities/documents
2012-01-25 19:51:10 +00:00
Richard Miller
b4ebbc0a55
Merge branch '2.0'
2012-01-12 19:59:08 +00:00
Richard Miller
851c461fa8
Removed exception catching in Doctrine listeners
2012-01-12 19:38:56 +00:00
Jeremy Mikola
0d0c653777
Merge pull request #58 from merk/index_transformer
...
Index wide finder
Conflicts:
DependencyInjection/FOQElasticaExtension.php
Resources/config/config.xml
2012-01-12 16:10:28 +00:00
Richard Miller
a158454eec
Removed unused local variable
2012-01-12 15:42:40 +00:00
Richard Miller
e1c8899455
Fixed typo
2012-01-12 15:41:27 +00:00
Tim Nagel
9c4ef3d8bd
Added finder capability for an index
2012-01-04 09:12:51 +11:00
Richard Miller
231e3a0b06
Moved annotation use back into RepositoryManager
2011-12-24 14:44:37 +00:00
Richard Miller
77a73b1db6
Refactored RepositoryManager
2011-12-23 16:38:22 +00:00
Richard Miller
ba976e3a41
Extracted the Doctine specific parts of the Repository Manager
2011-12-23 15:29:01 +00:00
Richard Miller
0e3fedf3fb
Switched to manager registry for doctrine integration
2011-12-13 10:22:24 +00:00
Richard Miller
b9599052f9
Fixed typo
2011-12-11 23:19:10 +00:00
Richard Miller
7832fbc61a
Removed unused local variable
2011-12-11 23:17:54 +00:00
Magnus Nordlander
3fe550c9c1
Changed ObjectPersister dependency to ObjectPersisterInterface
2011-11-30 10:08:44 +01:00
ornicar
e10d466215
Catch and log all listener exceptions
2011-08-11 09:37:38 -07:00
Borbás Imre Sándor
071fd29fbe
Fixed compatibility with Doctrine2's createQueryBuilder method (it should be called with a mandatory parameter).
2011-07-02 17:52:40 +02:00
ornicar
f805508d72
Change listener failure logging level to warn.
2011-07-01 08:59:02 -07:00
ornicar
b7c4317f6e
Catch listeners elastica exceptions and log them
2011-06-30 16:37:52 -07:00
Andrew
3279ee9ef1
Removed explicit binding to array as it causes no results to be returned.
2011-06-20 12:10:55 -07:00
Christophe Coevoet
84c98d5b70
Switched to use a query parameter in the ORM implementation
2011-06-18 14:56:18 +02: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
2a60e57488
Fix typo in orm transformer
2011-05-14 19:19:38 -07:00
ornicar
91b78da714
Fix bug in orm transformer
2011-05-14 18:54:35 -07:00
ornicar
ecb9e85050
Add elasticsearch 0.16.0 support
2011-05-14 18:52:53 -07:00
ornicar
743b2c0e64
Move transformed finder and paginator out of the Doctrine\ namespace
2011-05-09 17:54:01 -07:00
Christophe Coevoet
1387205d94
Implemented the ORM transformer
2011-05-10 01:10:45 +02:00
ornicar
ed1293bc86
Move the doctrine finder to Doctrine\Finder
2011-05-09 15:38:52 -07:00
ornicar
1eff840c99
Move doctrine related logic to Doctrine\ORM and Doctrine\MongoDB
2011-05-09 15:31:20 -07:00