Commit graph

70 commits

Author SHA1 Message Date
Fabien Somnier 5e54dcd955 Add RAM (current & peak) in populate evolution information 2014-01-30 13:01:13 +01: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