Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Adding the fields configuration to the properties so multi_field fiel…

…ds can also be defined in properties
  • Loading branch information...
commit 4055ff305f7652f51ab5d7827282929be20e77c9 1 parent 973d67f
leahaense leahaense authored

Showing 1 changed file with 20 additions and 0 deletions. Show diff stats Hide diff stats

  1. +20 0 DependencyInjection/Configuration.php
20 DependencyInjection/Configuration.php
@@ -322,6 +322,26 @@ protected function getMappingsNode()
322 322 ->scalarNode('null_value')->end()
323 323 ->booleanNode('include_in_all')->defaultValue('true')->end()
324 324 ->scalarNode('lat_lon')->end()
  325 + ->arrayNode('fields')
  326 + ->useAttributeAsKey('name')
  327 + ->prototype('array')
  328 + ->treatNullLike(array())
  329 + ->addDefaultsIfNotSet()
  330 + ->children()
  331 + ->scalarNode('type')->defaultValue('string')->end()
  332 + ->scalarNode('boost')->end()
  333 + ->scalarNode('store')->end()
  334 + ->scalarNode('index')->end()
  335 + ->scalarNode('index_analyzer')->end()
  336 + ->scalarNode('search_analyzer')->end()
  337 + ->scalarNode('analyzer')->end()
  338 + ->scalarNode('term_vector')->end()
  339 + ->scalarNode('null_value')->end()
  340 + ->booleanNode('include_in_all')->defaultValue('true')->end()
  341 + ->scalarNode('lat_lon')->end()
  342 + ->end()
  343 + ->end()
  344 + ->end()
325 345 ->end()
326 346 ->end()
327 347 ->end()

0 comments on commit 4055ff3

Please sign in to comment.
Something went wrong with that request. Please try again.