You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ho...@apache.org on 2017/06/08 18:30:54 UTC

lucene-solr:jira/SOLR-10807: SOLR-10807: temporarily allow non-randomized sme TrieDouble type instances used by deprecated classes so the cores will load and things can be tested

Repository: lucene-solr
Updated Branches:
  refs/heads/jira/SOLR-10807 fde06f34b -> c373f5c8d


SOLR-10807: temporarily allow non-randomized sme TrieDouble type instances used by deprecated classes so the cores will load and things can be tested


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/c373f5c8
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/c373f5c8
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/c373f5c8

Branch: refs/heads/jira/SOLR-10807
Commit: c373f5c8dddf2a981e0867aae5e2d5a315b8474b
Parents: fde06f3
Author: Chris Hostetter <ho...@apache.org>
Authored: Wed Jun 7 14:16:03 2017 -0700
Committer: Chris Hostetter <ho...@apache.org>
Committed: Wed Jun 7 14:16:03 2017 -0700

----------------------------------------------------------------------
 .../test-files/solr/collection1/conf/schema-spatial.xml   | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/c373f5c8/solr/core/src/test-files/solr/collection1/conf/schema-spatial.xml
----------------------------------------------------------------------
diff --git a/solr/core/src/test-files/solr/collection1/conf/schema-spatial.xml b/solr/core/src/test-files/solr/collection1/conf/schema-spatial.xml
index c6e5df3..fe7a251 100644
--- a/solr/core/src/test-files/solr/collection1/conf/schema-spatial.xml
+++ b/solr/core/src/test-files/solr/collection1/conf/schema-spatial.xml
@@ -24,6 +24,12 @@
   <fieldType name="tdouble" class="${solr.tests.DoubleClassName:solr.DoublePointField}" precisionStep="8"/>
   <fieldType name="tdoubleDV" class="${solr.tests.DoubleClassName:solr.DoublePointField}" precisionStep="8" docValues="true"/>
 
+  <!-- two special purpose, non-randomized, TrieDoubleField instances for use by deprecated classes
+       (see SOLR-10729)
+    -->
+  <fieldType name="nocommit_tdouble" class="solr.TrieDoubleField" precisionStep="8"/>
+  <fieldType name="nocommit_tdoubleDV" class="solr.TrieDoubleField" precisionStep="8" docValues="true"/>
+
   <fieldType name="boolean" class="solr.BoolField"/>
 
   <fieldType name="string" class="solr.StrField" sortMissingLast="true"/>
@@ -47,12 +53,12 @@
              geo="false" distCalculator="cartesian^2" worldBounds="ENVELOPE(0, 1000, 1000, 0)" distanceUnits="degrees"/>
 
   <fieldType name="pointvector" class="solr.SpatialPointVectorFieldType"
-             numberType="tdouble" distanceUnits="degrees"/>
+             numberType="nocommit_tdouble" distanceUnits="degrees"/>
 
   <fieldType name="srptgeom" class="solr.RptWithGeometrySpatialField"/>
 
   <fieldType name="bbox" class="solr.BBoxField"
-             numberType="tdoubleDV" distanceUnits="degrees" storeSubFields="false"/>
+             numberType="nocommit_tdoubleDV" distanceUnits="degrees" storeSubFields="false"/>
 
   <fieldType name="llp" class="solr.LatLonPointSpatialField" distanceUnits="degrees" multiValued="true" />