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/07/17 22:44:46 UTC

lucene-solr:master: SOLR-11098: Randomize PointFields in cloud-managed-preanalyzed & schema-preanalyzed.xml

Repository: lucene-solr
Updated Branches:
  refs/heads/master 369d30815 -> 192212670


SOLR-11098: Randomize PointFields in cloud-managed-preanalyzed & schema-preanalyzed.xml


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

Branch: refs/heads/master
Commit: 19221267053f1452f41031aafde27fa38ce3fa13
Parents: 369d308
Author: Chris Hostetter <ho...@apache.org>
Authored: Mon Jul 17 15:44:41 2017 -0700
Committer: Chris Hostetter <ho...@apache.org>
Committed: Mon Jul 17 15:44:41 2017 -0700

----------------------------------------------------------------------
 solr/CHANGES.txt                                                 | 1 +
 .../src/test-files/solr/collection1/conf/schema-preanalyzed.xml  | 2 +-
 .../configsets/cloud-managed-preanalyzed/conf/managed-schema     | 4 ++--
 3 files changed, 4 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/19221267/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 6d8fdda..51d2fd7 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -496,6 +496,7 @@ Other Changes
   - SOLR-11060: Randomize PointFields in schema-custom-field.xml and all related tests (Anshum Gupta)
   - SOLR-11095: Randomize PointFields in doc-expiry & exitabe-directory test configsets (hossman)
   - SOLR-11097: Randomize PointFields in schema-id-and-version-fields-only.xml and all affected tests (hossman)
+  - SOLR-11098: Randomize PointFields in cloud-managed-preanalyzed & schema-preanalyzed.xml and all affected tests (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

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/19221267/solr/core/src/test-files/solr/collection1/conf/schema-preanalyzed.xml
----------------------------------------------------------------------
diff --git a/solr/core/src/test-files/solr/collection1/conf/schema-preanalyzed.xml b/solr/core/src/test-files/solr/collection1/conf/schema-preanalyzed.xml
index 8a27392..7de08d6 100644
--- a/solr/core/src/test-files/solr/collection1/conf/schema-preanalyzed.xml
+++ b/solr/core/src/test-files/solr/collection1/conf/schema-preanalyzed.xml
@@ -30,7 +30,7 @@
     </analyzer>
   </fieldType>
   <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"/>
 
   <field name="id" type="string" indexed="true" stored="true" required="true"/>
   <field name="_version_" type="long" indexed="true" stored="true" multiValued="false"/>

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/19221267/solr/core/src/test-files/solr/configsets/cloud-managed-preanalyzed/conf/managed-schema
----------------------------------------------------------------------
diff --git a/solr/core/src/test-files/solr/configsets/cloud-managed-preanalyzed/conf/managed-schema b/solr/core/src/test-files/solr/configsets/cloud-managed-preanalyzed/conf/managed-schema
index 39e142e..d9a439d 100644
--- a/solr/core/src/test-files/solr/configsets/cloud-managed-preanalyzed/conf/managed-schema
+++ b/solr/core/src/test-files/solr/configsets/cloud-managed-preanalyzed/conf/managed-schema
@@ -17,8 +17,8 @@
 -->
 <schema name="managed-preanalyzed" version="1.6">
   <fieldType name="string" class="solr.StrField"/>
-  <fieldType name="int" class="solr.TrieIntField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
-  <fieldType name="long" class="solr.TrieLongField" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
+  <fieldType name="int" class="${solr.tests.IntegerFieldType}" docValues="${solr.tests.numeric.dv}" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
+  <fieldType name="long" class="${solr.tests.LongFieldType}" docValues="${solr.tests.numeric.dv}" precisionStep="0" omitNorms="true" positionIncrementGap="0"/>
 
   <fieldType name="preanalyzed-no-analyzer" class="solr.PreAnalyzedField" parserImpl="json"/>
   <fieldType name="preanalyzed-with-analyzer" class="solr.PreAnalyzedField">