Merge pull request #172 from kostiklv/properties-mapping

Support for properties of objects/nested documents
This commit is contained in:
Richard Miller 2012-11-28 12:49:14 -08:00
commit 9b2dc40bc1

View file

@ -267,6 +267,26 @@ class Configuration
->end()
->end()
->end()
->arrayNode('properties')
->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()
;