Add dynamic _path field SOLR-18
authorJakub Skoczen <jakub@indexdata.dk>
Wed, 6 May 2015 08:06:21 +0000 (10:06 +0200)
committerJakub Skoczen <jakub@indexdata.dk>
Wed, 6 May 2015 08:06:21 +0000 (10:06 +0200)
conf/schema.xml

index 30eda11..6b491b3 100644 (file)
    <dynamicField name="random_*" type="random" />
 
    <dynamicField name="*_binary" type="binary" indexed="false" stored="true" multiValued="true"/>
    <dynamicField name="random_*" type="random" />
 
    <dynamicField name="*_binary" type="binary" indexed="false" stored="true" multiValued="true"/>
+   <dynamicField name="*_path" type="text" indexed="true" stored="true" multiValued="true"/>
    <!-- uncomment the following to ignore any fields that don't already match an existing 
         field name or dynamic field, rather than reporting them as an error. 
         alternately, change the type="ignored" to some other type e.g. "text" if you want 
    <!-- uncomment the following to ignore any fields that don't already match an existing 
         field name or dynamic field, rather than reporting them as an error. 
         alternately, change the type="ignored" to some other type e.g. "text" if you want