[ https://issues.apache.org/jira/browse/SOLR-13160?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748244#comment-16748244 ]
Dan Meehl commented on SOLR-13160: ---------------------------------- The 2nd patch adds a check to avoid duplicating the content when source==dest. > copyField with bare wildcard source duplicates content in dest field > -------------------------------------------------------------------- > > Key: SOLR-13160 > URL: https://issues.apache.org/jira/browse/SOLR-13160 > Project: Solr > Issue Type: Bug > Security Level: Public(Default Security Level. Issues are Public) > Components: Schema and Analysis > Affects Versions: 7.6 > Reporter: Dan Meehl > Priority: Minor > Attachments: SOLR-13160-2.patch, SOLR-13160.patch > > > A copyField directive in the schema with source="*" will duplicate all > content that was already in dest. This doesn't seem like a show stopping > problem, but it was a surprise to me and I can't think of a reason you'd want > that to happen. Worst case scenario is that it makes your index 2x larger for > no reason. > The patch adds a test into CopyFieldTest that shows the behavior. -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org