Commit graph

62 commits

Author SHA1 Message Date
Jeremy Mikola 43eda480c5 Rename "reseter" to "Resetter" (BC break) 2012-03-12 12:07:51 -04:00
Jeremy Mikola d3a2335a55 Refactor IndexManager construction (preserves API)
Provide the default index name rather than the service itself. Additionally, inject references to each index by name instead of the definitions.
2012-03-12 12:07:51 -04:00
Richard Miller 3e50cc95b5 Merge branch '2.0' 2012-02-27 20:13:39 +00:00
Richard Miller 118151db7c Added null_value to mapping configuration 2012-02-27 20:11:25 +00:00
Richard Miller d67cd8f9ba Merge remote-tracking branch 'origin/2.0' 2012-02-03 12:40:42 +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 38f31eca3c Merge branch '2.0'
Conflicts:
	DependencyInjection/FOQElasticaExtension.php
2012-01-25 13:51:16 +00:00
Richard Miller e00aa3a077 Removed unnecessary definition setting 2012-01-25 12:14:20 +00:00
Richard Miller 131a65e411 Allowed repositories for Propel driver 2012-01-25 12:10:35 +00:00
Richard Miller dce701b259 Merge branch '2.0'
Conflicts:
	DependencyInjection/FOQElasticaExtension.php
	Manager/RepositoryManager.php
	Resources/config/mongodb.xml
	Resources/config/orm.xml
	Resources/config/propel.xml
2012-01-25 12:09:06 +00:00
Richard Miller bb87a0be74 Made default manager configurable
Conflicts:

	DependencyInjection/FOQElasticaExtension.php
	Resources/config/config.xml
	Resources/config/mongodb.xml
	Resources/config/orm.xml
	Resources/config/propel.xml
2012-01-25 11:47:11 +00:00
Richard Miller ac3edc23a4 Changed to separate repository manager for each driver 2012-01-25 11:36:50 +00:00
Richard Miller 6eff104d6d Merge branch '2.0'
Conflicts:
	DependencyInjection/FOQElasticaExtension.php
	Manager/RepositoryManager.php
	README.md
	Resources/config/config.xml
	Resources/config/propel.xml
2012-01-12 16:34:19 +00:00
Jeremy Mikola ce82e8f591 Merge pull request #62 from merk/patch-1
Fix index wide finder config check
2012-01-12 16:11:44 +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
Jeremy Mikola b21e063c9c Ensure persistence.driver option exists before validating
The driver option is not required by the configuration, so we should check for it the validation functions.

If type_prototype is being used, there is a legitimate case where type definitions would not specify a driver. Likewise, the type_prototype may not specify the driver. If we wish to validate that a driver has been specified for a type, we'll have to do that in the extension class after loading the configuration and merging in prototypes.
2012-01-12 16:04:17 +00:00
Jeremy Mikola 5f83fd90c2 Merge pull request #51 from willdurand/propel-support
Propel support
Conflicts:

	DependencyInjection/FOQElasticaExtension.php
2012-01-12 16:01:33 +00:00
Tim Nagel aa5bac2ccc Fix index wide finder config check
Fixes index wide finder configuration. Fixes #61
2012-01-07 09:19:24 +11:00
Tim Nagel 9c4ef3d8bd Added finder capability for an index 2012-01-04 09:12:51 +11:00
Jeremy Mikola d0fdebb7d1 Ensure persistence.driver option exists before validating
The driver option is not required by the configuration, so we should check for it the validation functions.

If type_prototype is being used, there is a legitimate case where type definitions would not specify a driver. Likewise, the type_prototype may not specify the driver. If we wish to validate that a driver has been specified for a type, we'll have to do that in the extension class after loading the configuration and merging in prototypes.
2011-12-28 17:51:07 -05:00
Richard Miller 510d411055 Made default manager configurable 2011-12-23 16:20:22 +00:00
William DURAND 00aa83df80 Fixed comments
see https://github.com/Exercise/FOQElasticaBundle/pull/51
2011-12-20 20:14:49 +01:00
William DURAND 55187d23bf Added Propel support
Refactored the configuration => BC break
2011-12-20 17:44:39 +01:00
Richard Miller 4e48bbd182 Merge pull request #46 from nurikabe/master
Allow variable "fields" configuration node for attachment mapping.
2011-12-16 20:08:34 +00:00
Richard Miller ade3cfaef1 Merge pull request #46 from nurikabe/master
Allow variable "fields" configuration node for attachment mapping.
2011-12-16 07:38:45 -08:00
nurikabe d4d05c2fc9 Allow variable "fields" configuration node for attachment mapping. 2011-12-12 17:12:48 +00:00
Richard Miller 1a921ec2a3 Added Doctrine shortcut names for getting repositories 2011-12-11 23:09:13 +00:00
Jeremy Mikola bf1fe1685a Remove array-wrapping of config argument for clients
This fixes a regression in 914dbca3aa which prevented custom client configs from being processed.
2011-11-29 18:41:03 -05:00
Jeremy Mikola 2b0e09f3da Merge pull request #38 from richardmiller/adding_repositories_for_encapsulating_queries
Adding manager that returns Doctrine style repositories
2011-11-14 08:18:14 -08:00
Richard Miller 7dbc4221ae Adding manager that returns Doctrine style repositories 2011-11-12 21:10:00 +00:00
Richard Miller c4662644d8 Removed unused local variable 2011-11-12 19:40:41 +00:00
Jeremy Mikola 8a9dc124ec Merge pull request #27 from gimler/data_collector
add data collector for client class
2011-11-03 11:02:32 -07:00
Robert Gruendler bec5ddf999 added 'term_vector' configuration node 2011-10-19 22:06:50 +02:00
Gordon Franke 914dbca3aa add data collector for client class 2011-10-04 17:01:38 +02:00
ornicar 14db48ddbd Fix bug when index has no settings 2011-09-13 12:23:27 +02:00
ornicar dc35b489a2 Allow empty type settings 2011-09-12 19:52:01 +02:00
ornicar 451a5b4fc2 Remove mapping and setting registries, use the reseter to configure the indexes 2011-09-12 18:28:59 +02:00
ornicar e83a3344e9 Add a setting registry 2011-09-12 17:33:00 +02:00
Gordon Franke 3f15b1a2d8 fix exception 2011-08-05 13:07:41 +02:00
ornicar b6c4a582d3 Fix configuration and indentation 2011-06-10 16:03:17 -07:00
ornicar 214250416a Replace the type inspector with a mapping registry to improve performances 2011-06-07 14:19:50 -07:00
ornicar 074c596994 Apply @Stof comments 2011-06-07 11:48:11 -07:00
ornicar 6fee4131f4 Doctrine integration refactoring, adds realtime index updates 2011-06-07 11:16:19 -07:00
ornicar 5df741ba82 Update to latest version of Elastica 2011-05-11 09:25:22 -07:00
ornicar cb3fae7925 Introduce type prototype configuration 2011-04-27 13:24:29 -07:00
ornicar 0db0490be5 Complete provider, finder, transformers and configuration refactoring 2011-04-27 00:59:04 -07:00
ornicar 0ae6ef305f Add support for Doctrine ORM 2011-04-21 19:34:39 -07:00
ornicar 0a505212a2 Improve configuration class 2011-04-21 12:19:05 -07:00
ornicar 7a574e4ab1 Fix configuration edge case 2011-04-21 12:17:19 -07:00