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

Steve Rowe commented on SOLR-4641:
----------------------------------

[~yuanyun.cn] and [~maho], I don't think you'll find much support for reducing 
schema validation.

One thing you can do right now as an alternative to custom {{<field>}} 
attributes is child elements, e.g.:

{code:xml}
<field indexed="true" multiValued="true" name="f1" stored="true" type="string">
  <MYPARAM>VALUE</MYPARAM>  <!-- Maven property style -->
  <custom MYPARAM="VALUE"/> <!-- Alternative syntax; element name could be 
anything you want  -->
  ...
</field>
{code}

Is the above sufficient for your use cases?
                
> 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