SOLR-11120: Remove trie fieldTypes from schema-points.xml

This commit is contained in:
Chris Hostetter 2017-07-18 18:10:44 -07:00
parent 49ff81756d
commit bddbef0ce9
3 changed files with 2 additions and 12 deletions

View File

@ -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 false

View File

@ -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"/>

View File

@ -505,7 +505,6 @@ public class TestPointFields extends SolrTestCaseJ4 {
@Test
public 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);