Skip to content

Commit

Permalink
Adding the fields configuration to the properties so multi_field fiel…
Browse files Browse the repository at this point in the history
…ds can also be defined in properties
  • Loading branch information
leabaertschi committed Jan 10, 2013
1 parent 973d67f commit 4055ff3
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions DependencyInjection/Configuration.php
Expand Up @@ -322,6 +322,26 @@ protected function getMappingsNode()
->scalarNode('null_value')->end()
->booleanNode('include_in_all')->defaultValue('true')->end()
->scalarNode('lat_lon')->end()
->arrayNode('fields')
->useAttributeAsKey('name')
->prototype('array')
->treatNullLike(array())
->addDefaultsIfNotSet()
->children()
->scalarNode('type')->defaultValue('string')->end()
->scalarNode('boost')->end()
->scalarNode('store')->end()
->scalarNode('index')->end()
->scalarNode('index_analyzer')->end()
->scalarNode('search_analyzer')->end()
->scalarNode('analyzer')->end()
->scalarNode('term_vector')->end()
->scalarNode('null_value')->end()
->booleanNode('include_in_all')->defaultValue('true')->end()
->scalarNode('lat_lon')->end()
->end()
->end()
->end()
->end()
->end()
->end()
Expand Down

0 comments on commit 4055ff3

Please sign in to comment.