[ 
https://issues.apache.org/jira/browse/SOLR-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Hoss Man resolved SOLR-530.
---------------------------

    Resolution: Fixed
      Assignee: Hoss Man

Thanks for the patch Shalin,

2 minor issues: you had an off by 1 error in your copyField counting, and since 
you added copyFieldTargetCounts (Map), we could eliminate copyFieldTarget (Set).

Committed revision 646107.


> Improve messages when parsing schema.xml
> ----------------------------------------
>
>                 Key: SOLR-530
>                 URL: https://issues.apache.org/jira/browse/SOLR-530
>             Project: Solr
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Hoss Man
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-530.patch
>
>
> Improve exception messages in parsing schema.xml and catch common user 
> mistakes.
> For example:
>  # If type is incorrect or omitted, the resulting exception message does not 
> show the field name
>  # Forgetting to add multiValued="true" on a copyField destination is a 
> common mistake. If a field is a destination for multiple copyFields, then 
> this goes unnoticed until addition of documents fails with exception.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to