Apache Lucene open-source search software
SOLR-11120: Remove trie fieldTypes from schema-points.xml
Chris Hostetterbddbef0ce984
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 28c577790a7..45f38300d0a 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -520,6 +520,7 @@ Other Changes- SOLR-11114: Randomize PointFields in schema-customfield.xml and TestOverriddenPrefixQueryForCustomFieldType (hossman)- SOLR-11074: Randomize PointFields in cloud-dynamic configset and all related tests (Anshum Gupta)- SOLR-11121: Randomize PointFields in schema-trie.xml and TestTrie (hossman)+ - SOLR-11120: Remove trie fieldTypes from schema-points.xml (hossman)* 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-point.xml b/solr/core/src/test-files/solr/collection1/conf/schema-point.xmlindex c024cb6d0a7..c933d130456 100644--- a/solr/core/src/test-files/solr/collection1/conf/schema-point.xml+++ b/solr/core/src/test-files/solr/collection1/conf/schema-point.xml@@ -27,26 +27,16 @@<fieldType name="pfloat" class="solr.FloatPointField" useDocValuesAsStored="false"/><fieldType name="pdate" class="solr.DatePointField" useDocValuesAsStored="false"/>- <fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>- <fieldType name="float" class="solr.TrieFloatField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>- <fieldType name="long" class="solr.TrieLongField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>- <fieldType name="double" class="solr.TrieDoubleField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>- <fieldType name="date" class="solr.TrieDateField" sortMissingLast="true" omitNorms="true"/></types><fields><field name="id" type="string"/><field name="text" type="string"/>- <field name="_version_" type="long" indexed="true" stored="true" multiValued="false" />+ <field name="_version_" type="plong" indexed="true" stored="true" multiValued="false" /><field name="signatureField" type="string" indexed="true" stored="false"/><dynamicField name="*_s" type="string" indexed="true" stored="true"/><dynamicField name="*_sS" type="string" indexed="false" stored="true"/>- <dynamicField name="*_i" type="int" indexed="true" stored="true"/>- <dynamicField name="*_l" type="long" indexed="true" stored="true"/>- <dynamicField name="*_f" type="float" indexed="true" stored="true"/>- <dynamicField name="*_d" type="double" indexed="true" stored="true"/>- <dynamicField name="*_dt" type="date" indexed="true" stored="true"/><dynamicField name="*_p_i" type="pint" indexed="true" stored="true"/><dynamicField name="*_p_i_dv" type="pint" indexed="true" stored="true" docValues="true"/>diff --git a/solr/core/src/test/org/apache/solr/schema/TestPointFields.java b/solr/core/src/test/org/apache/solr/schema/TestPointFields.javaindex 7aad5424d11..04d704d9d74 100644--- a/solr/core/src/test/org/apache/solr/schema/TestPointFields.java+++ b/solr/core/src/test/org/apache/solr/schema/TestPointFields.java@@ -505,7 +505,6 @@ public class TestPointFields extends SolrTestCaseJ4 {@Testpublic void testDoublePointFieldExactQuery() throws Exception {- doTestFloatPointFieldExactQuery("number_d", true);doTestFloatPointFieldExactQuery("number_p_d", true);doTestFloatPointFieldExactQuery("number_p_d_mv", true);doTestFloatPointFieldExactQuery("number_p_d_dv", true);