Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-11023: add docValues="true" to an enum field declaration in schema.xml, so that EnumFieldType, which requires docValues, stops causing TestDistributedSearch to fail

Steve Rowe3f9e748202ab
diff --git a/solr/core/src/test-files/solr/collection1/conf/schema.xml b/solr/core/src/test-files/solr/collection1/conf/schema.xml
index 1f6146d8fa2..b8528477eb2 100644
--- a/solr/core/src/test-files/solr/collection1/conf/schema.xml
+++ b/solr/core/src/test-files/solr/collection1/conf/schema.xml
@@ -648,7 +648,7 @@
<field name="payloadDelimited" type="payloadDelimited"/>
<!-- EnumType -->
- <field name="severity" type="severityType" indexed="true" stored="true" multiValued="false"/>
+ <field name="severity" type="severityType" docValues="true" indexed="true" stored="true" multiValued="false"/>
<!-- Dynamic field definitions. If a field name is not found, dynamicFields