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

Hoss Man resolved SOLR-5927.
----------------------------
    Resolution: Implemented

resolving this as "part of" SOLR-5846.

I'll slurp the test config fixes into the next patch for SOLR-11023

> EnumField thinks DocValue support requires a default value or that the field 
> be required
> ----------------------------------------------------------------------------------------
>
>                 Key: SOLR-5927
>                 URL: https://issues.apache.org/jira/browse/SOLR-5927
>             Project: Solr
>          Issue Type: Bug
>          Components: Schema and Analysis
>            Reporter: Steve Rowe
>            Priority: Minor
>         Attachments: SOLR-5927.patch
>
>
> {noformat}  
>   @Override
>   public void checkSchemaField(final SchemaField field) {
>     if (field.hasDocValues() && !field.multiValued() && !(field.isRequired() 
> || field.getDefaultValue() != null)) {
>       throw new IllegalStateException("Field " + this + " has single-valued 
> doc values enabled, but has no default value and is not required");
>     }
>   }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

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

Reply via email to