You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Gennaro Frazzingaro (JIRA)" <ji...@apache.org> on 2014/03/13 20:33:43 UTC

[jira] [Created] (SOLR-5862) Need a way to copy dynamic fields to other dynamic fields

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: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org