Hi,

I am running solr 5 using basic_configs and have a questions about the
order of defining fields and dynamic fields in the schema.xml file?

For example, there is a field "hierarchy.of.fields.Project" I am capturing
as below as "text_en_splitting", but the rest of the fields in this
hierarchy, I would like as "text_en"

Since the dynamicField with * is technically spanning over the Project
field, should its definition go above, or below the Project field?

<field name="hierarchy.of.fields.Project" type="text_en_splitting"
indexed="true"  stored="true"  multiValued="true" required="false" />
<dynamicField name="hierarchy.of.fields.*" type="text_en"
indexed="true"  stored="true"  multiValued="true" required="false" />


Or this case, I have a hierarchy where currently only one field should be
captured "another.hierarchy.of.fields.Description", the rest for now should
be just ignored. Is here any significance of which definition comes first?

<dynamicField name="another.hierarchy.of.*" type="text_en"
indexed="false"  stored="false"  multiValued="true" required="false" />
<dynamicField name="another.hierarchy.of.fields.Description"
type="text_en"    indexed="true"  stored="true"  multiValued="true"
required="false" />

Thanks for any hints,
Tom

Reply via email to