[
https://issues.apache.org/jira/browse/SOLR-13160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dan Meehl updated SOLR-13160:
-----------------------------
Description:
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 first patch adds a test into CopyFieldTest that shows the behavior.
was:
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.
> 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 first 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: [email protected]
For additional commands, e-mail: [email protected]