Apache Lucene open-source search software
SOLR-11117: Randomize PointFields in schema-behavior.xml, schema-enums.xml, and all affected tests
Steve Rowe8d5c029c6120
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 5665523a24d..1d94c32a832 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -510,6 +510,7 @@ Other Changes- SOLR-11111: Randomize PointFields in collection1/conf/: schemasurround.xml, schema-sql.xml, and schema-spatial.xml (Steve Rowe)- SOLR-11115: Randomize PointFields in schema-psuedo-fields.xml, schema-multiword-synonyms.xml, and all affected tests (Steve Rowe)- SOLR-11116: Randomize PointFields in schema-numeric.xml and all related tests (Steve Rowe)+ - SOLR-11117: Randomize PointFields in schema-behavior.xml, schema-enums.xml, and all affected tests (Steve Rowe)* SOLR-6807: Changed requestDispatcher's handleSelect to default to false, thus ignoring "qt".Simplified configs to not refer to handleSelect or "qt". Switch all tests that assumed true to assume falsediff --git a/solr/core/src/test-files/solr/collection1/conf/schema-behavior.xml b/solr/core/src/test-files/solr/collection1/conf/schema-behavior.xmlindex 9a0b6d38156..2fb50c762e1 100644--- a/solr/core/src/test-files/solr/collection1/conf/schema-behavior.xml+++ b/solr/core/src/test-files/solr/collection1/conf/schema-behavior.xml@@ -26,7 +26,7 @@<fieldType name="text" class="solr.TextField"/><fieldType name="bool" class="solr.BoolField"/><fieldType name="str" class="solr.StrField"/>- <fieldType name="int" class="solr.TrieIntField"/>+ <fieldType name="int" class="${solr.tests.IntegerFieldType}" docValues="${solr.tests.numeric.dv}"/><!-- explicit props on type --><fieldType name="multi_f" class="solr.StrField" multiValued="false"/>@@ -47,8 +47,8 @@<fieldType name="txt_phrase_t" class="solr.TextField"autoGeneratePhraseQueries="true"/>- <fieldType name="int_dvas_t" class="solr.TrieIntField" useDocValuesAsStored="true"/>- <fieldType name="int_dvas_f" class="solr.TrieIntField" useDocValuesAsStored="false"/>+ <fieldType name="int_dvas_t" class="${solr.tests.IntegerFieldType}" docValues="${solr.tests.numeric.dv}" useDocValuesAsStored="true"/>+ <fieldType name="int_dvas_f" class="${solr.tests.IntegerFieldType}" docValues="${solr.tests.numeric.dv}" useDocValuesAsStored="false"/><!-- all behavior is default -->diff --git a/solr/core/src/test-files/solr/collection1/conf/schema-enums.xml b/solr/core/src/test-files/solr/collection1/conf/schema-enums.xmlindex b3a9515d0e8..85b4ffaac71 100644--- a/solr/core/src/test-files/solr/collection1/conf/schema-enums.xml+++ b/solr/core/src/test-files/solr/collection1/conf/schema-enums.xml@@ -34,6 +34,6 @@but you can always add new values to the end. --><fieldType name="severityType" class="solr.EnumField" enumsConfig="enumsConfig.xml" enumName="severity"/><fieldType name="string" class="solr.StrField"/>- <fieldType name="long" class="solr.TrieLongField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>+ <fieldType name="long" class="${solr.tests.LongFieldType}" docValues="${solr.tests.numeric.dv}" precisionStep="0" omitNorms="true" positionIncrementGap="0"/></schema>