As an example, consider the following:

<dynamicField name="*_field" type="text_ws" indexed="true" stored="true"/>

<copyField source="yadayada_field" dest="all_fields" />
<field name="all_fields" type="text_ws" indexed="true" stored="false"/>

Two questions:
1) Is the definition of the source attribute for a copyField node that
would work as a dynamicField node valid?
2) Is the dest attribute for a copyField node required to be implemented
as a <field> node?  Could it be a dynamic field?  For example, could the
dest attribute in the above example be set to "mega_field" (since that would
match the dynamicField definition)?

I'll test these myself later, but don't have access to a solr instance to
play with this stuff right now.


Another funky example to ponder:

<dynamicField name="*_field" type="string" indexed="true" stored="true"/>
<copyField source="*_field" dest="all_fields" />
<field name="all_fields" type="text_ws" indexed="true" stored="false"/>

Reply via email to