Skip to content

Commit 4227fd5

Browse files
committed
Merge branch '3.0.x' into 3.1.x
2 parents 7baf494 + e268698 commit 4227fd5

File tree

5 files changed

+12
-4
lines changed

5 files changed

+12
-4
lines changed

CHANGELOG-3.0.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ https://github.com/FriendsOfSymfony/FOSElasticaBundle/compare/v3.0.0...v3.0.1
1212
To generate a changelog summary since the last version, run
1313
`git log --no-merges --oneline v3.0.0...3.0.x`
1414

15+
* 3.0.10 (2015-05-28)
16+
17+
* Bump allowed Elastica version to 2.0
18+
1519
* 3.0.9 (2015-03-12)
1620

1721
* Fix a bug in the BC layer of the type configuration for empty configs

DependencyInjection/Configuration.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,8 +541,11 @@ protected function getPersistenceNode()
541541
->arrayNode('elastica_to_model_transformer')
542542
->addDefaultsIfNotSet()
543543
->children()
544-
->scalarNode('hydrate')->defaultTrue()->end()
545-
->scalarNode('ignore_missing')->defaultFalse()->end()
544+
->booleanNode('hydrate')->defaultTrue()->end()
545+
->booleanNode('ignore_missing')
546+
->defaultFalse()
547+
->info('Silently ignore results returned from Elasticsearch without corresponding persistent object.')
548+
->end()
546549
->scalarNode('query_builder_method')->defaultValue('createQueryBuilder')->end()
547550
->scalarNode('service')->end()
548551
->end()

Resources/doc/setup.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Symfony application, use the example below:
7474
fos_elastica:
7575
indexes:
7676
app:
77-
index_name: app_%kernel.env%
77+
index_name: app_%kernel.environment%
7878
```
7979

8080
In this case, the service `fos_elastica.index.app` will relate to an ElasticSearch index

Resources/doc/usage.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ configuration options for this kind of searching, please see the [types](types.m
1111
documentation.
1212

1313
```php
14+
/* @var $finder \FOS\ElasticaBundle\Finder\TransformedFinder */
1415
$finder = $this->container->get('fos_elastica.finder.search.user');
1516

1617
// Option 1. Returns all users who have example.net in any of their mapped fields

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"symfony/console": "~2.1",
1818
"symfony/form": "~2.1",
1919
"symfony/property-access": "~2.2",
20-
"ruflin/elastica": ">=0.90.10.0, <1.5-dev",
20+
"ruflin/elastica": ">=0.90.10.0, <2.1-dev",
2121
"psr/log": "~1.0"
2222
},
2323
"require-dev":{

0 commit comments

Comments
 (0)