[ 
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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to