[ 
https://issues.apache.org/jira/browse/SOLR-6155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14026008#comment-14026008
 ] 

Yonik Seeley commented on SOLR-6155:
------------------------------------

IIRC, some have used multiple copyFields for a long time to change relevance in 
a catch-all text field.  This dates back to my CNET days in fact...
Example: copyField from "title" to "text" repeated 5 times...

> Multiple copy field directives are created in a mutable managed schema when 
> identical copy field directives are added
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-6155
>                 URL: https://issues.apache.org/jira/browse/SOLR-6155
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>            Reporter: Steve Rowe
>            Assignee: Steve Rowe
>
> If I add the same copy field directive more than once, e.g. source=sku1 , 
> dest=sku2, then this directive will appear in the schema as many times as it 
> was added.
> It should only appear once.  I guess we could keep the current behavior of 
> not throwing an error when a copy field directive is added that already 
> exists in the schema, but rather than adding a duplicate directive, just have 
> a no-op.



--
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