You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Shalin Shekhar Mangar (JIRA)" <ji...@apache.org> on 2008/04/03 07:26:24 UTC
[jira] Updated: (SOLR-530) Improve messages when parsing schema.xml
[ https://issues.apache.org/jira/browse/SOLR-530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shalin Shekhar Mangar updated SOLR-530:
---------------------------------------
Attachment: SOLR-530.patch
Adds field name to exception message for missing/incorrect type.
If a field is a destination for multiple copyFields and it is not defined as multiValued=true, then it shows a Warning during schema parsing.
> 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
> Priority: Trivial
> 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.