You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Jan Høydahl (JIRA)" <ji...@apache.org> on 2016/08/12 12:21:20 UTC

[jira] [Updated] (SOLR-9411) Better validation for Schema API

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

Jan Høydahl updated SOLR-9411:
------------------------------
    Description: 
Schema REST API needs better validation before doing changes.

* It should not be allowed to delete uniqueKey (also handled in SOLR-9349)
* When adding a dynamic field the API should test that it begins or ends with {{*}}. Today the change succeeds, but you get errors later

These are two known cases. We should harden validation across the board for all known schema requirements.

  was:
Schema REST API needs better validation before doing changes.

* It should not be allowed to delete uniqueKey
* When adding a dynamic field the API should test that it begins or ends with {{*}}. Today the change succeeds, but you get errors later

These are two known cases. We should harden validation across the board for all known schema requirements.


> Better validation for Schema API
> --------------------------------
>
>                 Key: SOLR-9411
>                 URL: https://issues.apache.org/jira/browse/SOLR-9411
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: Schema and Analysis
>            Reporter: Jan Høydahl
>
> Schema REST API needs better validation before doing changes.
> * It should not be allowed to delete uniqueKey (also handled in SOLR-9349)
> * When adding a dynamic field the API should test that it begins or ends with {{*}}. Today the change succeeds, but you get errors later
> These are two known cases. We should harden validation across the board for all known schema requirements.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org