Gennaro Frazzingaro created SOLR-5862:
-----------------------------------------

             Summary: Need a way to copy dynamic fields to other dynamic fields
                 Key: SOLR-5862
                 URL: https://issues.apache.org/jira/browse/SOLR-5862
             Project: Solr
          Issue Type: Improvement
            Reporter: Gennaro Frazzingaro
            Priority: Minor


I'd like to be able to create pairs of dynamic fields based on some pattern 
defined in a copyField.

For instance, today I'm allowed to create fields from a dynamic one onto an 
existing one
{code}
<field name="text" type="text_general" indexed="true" stored="false" 
multiValued="true"/>
<dynamicField name="*_st"  type="string"    indexed="true"  stored="true"/>
<copyField source="*_st" dest="text"/>
{code}

It'd be nice to create - for instance - separate text fields for each dynamic 
string field.
{code}
<dynamicField name="*_s"  type="string"    indexed="true"  stored="true"/>
<dynamicField name="*_t"  type="text_general"    indexed="true"  stored="true"/>
<copyField source="(*)_st" dest="%1_t"/>
{code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to