[
https://issues.apache.org/jira/browse/SOLR-6155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14027243#comment-14027243
]
Steve Rowe commented on SOLR-6155:
----------------------------------
Hmm, so I guess this is a feature then? I can see people unintentionally
getting bitten by it though - maybe the REST API should add an
"allowDuplicates" param, with a default of false?
> 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]