[ 
https://issues.apache.org/jira/browse/SOLR-4641?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665762#comment-13665762
 ] 

Øyvind Stegard commented on SOLR-4641:
--------------------------------------

Hi, we use some extra custom attributes on schema fields in a separate XML 
namespace (in schema.xml). These attributes are read by our Solr client code. 
Solr now fails to parse schema.xml because of this, with "Invalid field 
property: foo:bar". Shouldn't you only validate attributes that are in the 
default/known XML namespace, and leave unknown namespaces alone ?
                
> Schema should throw exception on illegal field parameters
> ---------------------------------------------------------
>
>                 Key: SOLR-4641
>                 URL: https://issues.apache.org/jira/browse/SOLR-4641
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>            Reporter: Robert Muir
>             Fix For: 4.3, 5.0
>
>         Attachments: SOLR-4641.patch
>
>
> Currently FieldType does this correctly, but SchemaField does not.
> so for example simple typos like (one from solr's test configs itself) 
> omitOmitTermFrequencyAndPositions=true... on the field elements themselves 
> are silently ignored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to