Commit graph

290 commits

Author SHA1 Message Date
tgallice 04390b37d1 Force slash at the end of the url parameter 2014-02-04 10:07:58 +01:00
nurikabe 93c6085fa5 Merge remote-tracking branch 'upstream/master' 2014-02-01 02:15:52 +00:00
Laszlo Horvath 5480e037e3 adding ttl for documents 2014-01-30 12:39:48 +01:00
Tim Nagel ef872dd22d Merge pull request #439 from FriendsOfSymfony/type-timestamp
Adding support for enabling timestamps
2014-01-20 12:57:02 -08:00
Tim Nagel f0f6fc8129 Merge pull request #441 from klmatom/master
Add similarity as a valid field mapping.  http://www.elasticsearch.org/g...
2014-01-20 12:56:47 -08:00
Tom A 4287a91d50 Add similarity as a valid field mapping. http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/mapping-core-types.html#similarity 2014-01-16 23:05:44 -05:00
nurikabe 4a4716a55b Merge remote-tracking branch 'upstream/master' 2014-01-11 16:38:29 +00:00
Vermi 73ee750515 Removing "->performNoDeepMerging()"in indexes configuration, allowing custom Bundle defining new types in an existing index.
Configuration is injected in the new Bundle using prependExtensionConfig()
2014-01-10 16:25:45 +01:00
Lea Haensenberger 274fc00991 Add store and index options to timestamp 2014-01-06 10:19:11 +01:00
Lea Haensenberger 4ee81dc010 Adding support for enabling timestamps 2014-01-06 09:20:44 +01:00
Tim Nagel 5f8b8003d1 Refactor documentation 2013-12-17 21:17:28 +11:00
Tim Nagel 90022b0d0a Move type configuration into independent method 2013-12-15 18:33:45 +11:00
Tim Nagel e2e21b1e0c Allow bundle to be used without clients or indexes defined. 2013-12-15 18:33:31 +11:00
nurikabe 3bd9155f46 Use constants of corresponding events classes rather than making assumption about string values. 2013-12-13 17:51:15 +00:00
Lea Haensenberger a59385af7b Do not set default value to *, might conflict when using e.g. path_match and match_pattern regex together 2013-12-10 15:37:41 +01:00
Lea Haensenberger e55c7e8632 Set match to '*' by default 2013-12-10 15:21:46 +01:00
Lea Haensenberger 09031457cd Allow more matching methods 2013-12-10 15:21:46 +01:00
Lea Haensenberger eaf52fa907 Allow a more dynamic mapping for dynamic templates 2013-12-10 15:21:46 +01:00
Császár Dániel e16ece821d Fix client configuration missing logger 2013-12-10 13:54:50 +01:00
Tim Nagel da44ee65f6 Merge pull request #395 from pierredup/logger
Add option to enable logger and define logger class
2013-12-10 02:17:10 -08:00
Tim Nagel e1ed7bdc67 Merge pull request #420 from FriendsOfSymfony/all-field-config
Add support to disable the _all field for a type
2013-12-10 02:16:23 -08:00
Tim Nagel 8668537740 Merge pull request #400 from cordoval/cleanups
clean ups
2013-12-10 02:15:53 -08:00
Tim Nagel fc64078575 Merge pull request #413 from damienalexandre/serializer-integration
Serializer support in providers and mapping configuration fixes
2013-12-09 12:35:26 -08:00
Lea Haensenberger 8f1b52328f Merge remote-tracking branch 'origin/master' into all-field-config
Conflicts:
	DependencyInjection/FOSElasticaExtension.php
2013-12-06 08:25:02 +01:00
Lea Haensenberger 08193ec2fd Add support to disable the _all field for a type 2013-12-05 16:35:30 +01:00
Pierre du Plessis 759950aff6 Add option to disable logger or specify different logger service 2013-12-04 22:09:27 +02:00
nurikabe 3a279f8edb Remove debug. 2013-12-04 10:46:05 +00:00
Richard Miller a227a3f076 Merge branch '2.1.x' 2013-12-04 08:03:04 +00:00
Richard Miller 2980ee818a Merge branch '2.0.x' into 2.1.x 2013-12-04 08:02:22 +00:00
Ben Longden 8b6dffbc14 Adds enabled mapping option (default true) 2013-12-04 07:53:08 +00:00
nurikabe 22a5d67d05 pre/postFlush configuration. Update documentation. 2013-12-03 20:41:26 +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
Damien Alexandre 3027c687e2 Ref #341, fix the insertMany method to use Bulk indexing
To make it works, I inject the serializer defined for the Type
into the fos_elastica.object_serializer_persister service.

This is the SAME service injected in the setSerializer of Type.

We deport the handling of serialization outside Elastica,
this is not so good but we need to build our own Documents to
get the ID's correctly.
2013-11-29 15:35:59 +01:00
Damien Alexandre 2862259d8e Allow empty or null or no mappings: key under type configuration
refs #300. This commit allow to define types without having to
set any mapping as Elasticsearch build his own.

The minimal config become:

    indexes:
        toto:
            client: default
            types:
                Article:
                    mappings: ~
                    ...
2013-11-29 14:59:56 +01:00
Damien Alexandre d546b4d3f3 Merge remote-tracking branch 'origin/serializer-transformer' into serializer-integration
Conflicts:
	DependencyInjection/FOSElasticaExtension.php
	Resources/config/config.xml
2013-11-29 10:07: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
Tim Nagel 9b6b0b0148 Add query_builder_method option to the transformers 2013-11-11 13:14:02 +11:00
Tim Nagel d5c606c64a Merge pull request #388 from XWB/dynamic_template_support
Add support for dynamic templates
2013-11-04 13:49:48 -08:00
Tim Nagel 28641427d5 Merge tag 'v2.1.3-PL1' 2013-11-01 09:17:17 +11:00
Tim Nagel 7f8a8e95e6 Merge tag 'v2.0.3-PL1' into 2.1.x 2013-11-01 09:16:27 +11:00
Tim Nagel 21ce3cf6ff Fix definition decorators (closes #393) 2013-11-01 09:15:38 +11:00
Jeremy Mikola 467ccbf753 Tag client services in DI extension class
These tags were originally introduced in 16ecd7cca3. #339 removed the fos_elastica.client definition from config.xml, so this tag needs to be added via the DI extension class now.
2013-10-30 17:15:09 -04:00
Jeremy Mikola 68092eb4db Merge branch '2.1.x'
Conflicts:
	Resources/config/config.xml
2013-10-30 17:14:20 -04:00
Jeremy Mikola 11d0dd8f91 Merge branch '2.0.x' into 2.1.x 2013-10-30 17:10:04 -04:00
Jeremy Mikola 74d993b642 Do not clobber existing client definitions (closes #336 and #324)
While we could have used an abstract definition, its ID would likely conflict with the alias we set for the default client. Remove the abstract definition altogether and simply construct new definitions for each client. This resolves the previous issue where multiple clients would overwrite the constructor arguments of the previous definition.
2013-10-30 15:15:26 -04:00
Jeremy Mikola 604193396f Remove "prototype" from abstract definition IDs; note possible conflicts
Due to the naming of transformer, listener, and finder services, it's possible for index/type services to clobber the ID of another concrete or abstract service. This cannot be helped without breaking BC, but we should note it within the extension class.
2013-10-30 15:15:25 -04:00
Karel Souffriau c68bb411ac Add support for dynamic templates 2013-10-30 13:39:43 +01:00
Tim Nagel 85c4dc92f9 Merge tag 'v2.1.3'
Conflicts:
	DependencyInjection/Configuration.php
	README.md
2013-10-30 09:06:48 +11:00
Karel Souffriau 9d1201099d Add date format field 2013-10-29 12:20:32 +01:00
Lea Haensenberger 37cfdb0df7 refactoring some code 2013-07-18 10:56:25 +02:00
Lea Haensenberger 300d189a9d renaming services to avoid potential conflicts 2013-07-18 10:51:51 +02:00
Lea Haensenberger 5b6a1f7bd6 Adding new persister and new transformer to make use of the serializer support of elastica when persisting doctrine objects 2013-07-17 08:58:15 +02:00
Antonio J. García Lagar 7f3cfa49fb Make the property param optional 2013-06-19 13:57:15 +02:00
Antonio J. García Lagar a386ffefe3 Fix parent mapping 2013-06-17 21:19:11 +02:00
Lukas Kahwe Smith 43d1531cd4 cs fix 2013-05-23 00:25:38 +03:00
Lukas Kahwe Smith 50730cca3d added path support, see http://www.elasticsearch.org/guide/reference/mapping/id-field/ 2013-05-17 00:22:46 +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 800e38f8aa tweaked the callback handling 2013-04-26 14:10:06 +02:00
Lukas Kahwe Smith 8a9a9686ba various tweaks 2013-04-26 14:10:05 +02:00
Lukas Kahwe Smith aafb6e53fb made the bundle compatible with Elastica 0.20.x 2013-04-26 14:10:05 +02:00
Lea Haensenberger 1abe1f48dd Having a parameter name defining a class for the serializer callback, because directly putting service id or parameter doesn't work because these values are not available at bundle configuration time 2013-04-26 14:10:05 +02:00
Lea Haensenberger a139d18b22 Adding default callback for serialization if serialization is turned on 2013-04-26 14:09:42 +02:00
Lea Haensenberger 73fd4fe6b0 Creating a serializer callable for every type in an index and passing it to elastica 2013-04-26 14:06:49 +02:00
Lea Haensenberger c5ee26099b Adding support to pass a serializer to elastica 2013-04-26 14:06:48 +02:00
Thomas Tourlourat 4b4a56db1e Check for "indexes" key in Configuration::getNestings() 2013-04-17 11:23:30 -04: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 744f05814a Merge branch '1.0.x' 2013-03-27 13:58:57 -04:00
Jeremy Mikola 4aa8fefe2d Rename FOQ filenames to FOS 2013-03-27 13:58:32 -04:00
Jeremy Mikola 49de4d361d Rename FOQ namespaces and services to FOS 2013-03-27 13:44:44 -04:00
Jeremy Mikola 3fb9aaa56a Rename FOQ namespaces and services to FOS 2013-03-27 13:44:06 -04:00
Stanislav Petrov 3f93f93a45 Changed configuration to implement ConfigurationInterface 2013-03-15 14:54:48 -04:00
skuro 904a664dfe Allow processing of null mappings in configuration 2013-03-15 14:35:01 -04:00
Konstantin Tjuterev 5e835f5b2c Added missing string field attributes, according to http://www.elasticsearch.org/guide/reference/mapping/core-types.html 2013-03-05 15:06:11 +02:00
Jeremy Mikola 8d11082a02 Skip config processing of indexes without types (fixes #246) 2013-03-04 14:59:04 -05:00
Jeremy Mikola eff52c2c9b Revert "fix search command"
This reverts commit f874e1d34f from PR #243.
2013-03-04 14:57:08 -05:00
cevou cbe6071969 Code cleanup
- updated deprecated calls
- cleaned up PHPDoc comments
2013-03-02 12:23:44 +01:00
Uyi Ehondor f874e1d34f fix search command
The bug:
The Search command throws an invalid argument exception when the index
alias and the index_name are different (see pull request 207 for a
background about the issue).

Fix:
The first argument of the index manager should be an array of index
objects having index names as keys, and should only fall back to using index aliases
if the index_name config param is not set.

See: pull request 207
(https://github.com/Exercise/FOQElasticaBundle/pull/207) for a background
on the issue.
2013-02-26 10:50:33 +00:00
Lea Haensenberger 7e85f79f8e Merge remote-tracking branch 'origin/master' into recursive_field_config
Conflicts:
	DependencyInjection/Configuration.php
2013-02-22 10:46:43 +01:00
Richard Miller 48d665e2ea Merge pull request #211 from liip-forks/fields_in_properties
Adding the fields configuration to the properties so multi_field fields ...
2013-02-03 11:49:51 -08:00
Richard Miller c82999fd8e Merge pull request #204 from micjohnson/patch-4
Add access to compression and disabling of _source from configuration
2013-02-03 11:45:37 -08:00
Richard Miller bfb0f823c1 Merge pull request #203 from micjohnson/patch-3
Adding _routing to type configuration
2013-02-03 11:44:51 -08:00
Richard Miller 94d89159bd Merge pull request #207 from Exercise/index-aliasing
Adding configuring index name separately from service name
2013-02-03 11:32:37 -08:00
Lea Haensenberger 71ccacc6b3 using getConfiguration and removing unnecessary end statements 2013-02-01 15:37:57 +01:00
Lea Haensenberger decd8a318d fixing CS problems 2013-02-01 14:55:59 +01:00
Jeremy Mikola 3cfa2c1ef6 Merge pull request #192 from kibao/fix-custom-finder
Fix register custom finder for entity
2013-01-30 13:44:27 -08:00
Przemysław Piechota 10ce9a6d0a CS 2013-01-30 22:24:19 +01:00
Lea Haensenberger 02f3281a7a Fixing wrong default value 2013-01-28 11:55:54 +01:00
Lea Haensenberger 869b8b734e Using the config array to determine the needed nesting levels, building the config tree based on that 2013-01-28 11:53:50 +01:00
Lea Haensenberger 4055ff305f Adding the fields configuration to the properties so multi_field fields can also be defined in properties 2013-01-10 15:00:21 +01:00
Lea Haensenberger 2119a4b39f Adding support for infinite nesting level in field configurations 2013-01-10 12:25:34 +01:00
Richard Miller 93236752c4 Adding configuring index name separately from service name 2013-01-04 14:02:50 +00:00
micjohnson b2314f21c6 Update DependencyInjection/Configuration.php
add access to compression and disabling of _source
2012-12-12 07:49:37 -08:00
micjohnson d9367c7ed8 Update DependencyInjection/FOQElasticaExtension.php 2012-12-12 06:25:55 -08:00
micjohnson ea921c8abe Update DependencyInjection/Configuration.php
Adding _routing for types
2012-12-12 06:23:54 -08:00
daFish e5fef260f2 Changed servers to numeric indexes instead of associative indexes 2012-11-29 10:00:51 +01:00
Richard Miller 1bcc518b31 Merge pull request #191 from odolbeau/feat-nodes
Allow multiple servers in configuration
2012-11-28 13:19:01 -08:00
Julien Muetton 23f591bf01 allow _parent mapping 2012-11-26 13:50:14 +01:00
Julien Muetton 679480e496 add ability to configure nested mapping
``` yaml
foq_elastica:
    clients:
        default: { host: localhost, port: 9200 }
    indexes:
        website:
            client: default
            types:
                product:
                    mappings:
                        name: { type: string }
                        price: { type: float}
                        specifications:
                            type: object
                            properties:
                                name: {type: string}
                                value: {type: string, analyzer: keyword}
```
2012-11-22 14:33:49 +01:00
Przemysław Piechota e2cc4f965b Fix register custom finder for entity 2012-11-22 11:30:13 +01:00
Olivier Dolbeau 58eaf6b03e Allow multiple servers in configuration 2012-11-05 11:00:27 +01:00
Francisco Facioni f4c0a4abda adds to the config the index parameter, needed for disabling the analyzer or the indexing 2012-10-15 17:18:04 -03:00
Jeremy Mikola 7bee84e2fa Merge branch '2.0' 2012-10-03 10:49:05 -04:00
Robin van der Vleuten bb6a3cf08d Allow providing a URL or host and port for client configurations 2012-10-03 10:48:24 -04:00
Ad van der Veer d49c530c55 Updated the DoctrineMongoDB event subscriber tag 2012-10-01 15:46:02 -04:00
predakanga 70c629f857 Added configuration options to support index-time document boosting 2012-08-09 13:49:04 +10:00
Richard Miller 123da22ebd Merge remote-tracking branch 'Fran6co/imp-lat_lon'
Conflicts:
	DependencyInjection/Configuration.php
2012-08-02 14:54:49 +01:00
Richard Miller f0c4cb23e3 Merge pull request #142 from korstiaan/include_in_all
Added `include_in_all` as mapping property
2012-08-02 05:56:18 -07:00
Korstiaan de Ridder dbf0e27386 Added include_in_all as mapping property 2012-08-01 13:52:08 +02:00
Francisco Facioni f58cf6e63c adds support for lat_lon flag as specified in http://www.elasticsearch.org/guide/reference/mapping/geo-point-type.html 2012-07-25 18:29:35 -03:00
Richard Miller 7a8664727c Merge remote-tracking branch 'origin/attachment_type_transformation'
Conflicts:
	Tests/Transformer/ModelToElasticaAutoTransformerTest.php
	Transformer/ModelToElasticaAutoTransformer.php
2012-07-08 15:38:09 +01:00
Richard Miller 835087eff1 Merge remote-tracking branch 'miguelibero/master' 2012-06-13 17:21:08 +01:00
Miguel Ibero f69e969898 fixed for consistency 2012-05-24 20:13:58 +02:00
Francisco Facioni 5bea4da409 added index_analyzer and search_analyzer for type fields 2012-05-23 14:42:28 -03:00
Miguel Ibero ae80e3e4f3 added index_analyzer and search_analyzer type options 2012-05-17 13:00:53 +02: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
Jeremy Mikola 5f5ee8a15d Merge branch '2.0' 2012-04-17 12:21:11 -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
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
nurikabe 87f1141d2e Remove addDefaultsIfNotSet() on prototyped array node. 2012-04-02 14:15:12 -04:00
nurikabe 99c6aa9ac7 Allow "_source" configuration as per https://github.com/Exercise/FOQElasticaBundle/issues/83. 2012-04-02 13:53:51 -04:00
Jeremy Mikola 24ca952d46 Update service tag for Doctrine MongoDB ODM listeners
See: doctrine/DoctrineMongoDBBundle#80
2012-03-23 15:02:00 -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 b360a36737 [Provider] Create ProviderRegistry service (BC break)
This introduces a registry service for persistence providers.

Previously, tagging one or more provider services would cause AddProviderPass to clobber the default providers created by the bundle's extension class. Now, the extension class tags its created providers and allows them to be registered via RegisterProvidersPass just like custom providers.

BC break: Custom providers tagged "foq_elastica.provider" must now specify a "type" attribute on their tag. An "index" attribute is optional (the default ES index will be used by default).
2012-03-12 12:07:51 -04:00
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