lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject [1/3] lucene-solr:master: SOLR-11117: Randomize PointFields in schema-behavior.xml, schema-enums.xml, and all affected tests
Date Tue, 18 Jul 2017 20:35:25 GMT
Repository: lucene-solr
Updated Branches:
  refs/heads/branch_7_0 b2dd112c7 -> 734eb5847
  refs/heads/branch_7x ba3c56218 -> 7bca513f5
  refs/heads/master 84e3b0868 -> 8d5c029c6


SOLR-11117: Randomize PointFields in schema-behavior.xml, schema-enums.xml, and all affected
tests


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

Branch: refs/heads/master
Commit: 8d5c029c6120b54b2b0d671458a8ac300837603e
Parents: 84e3b08
Author: Steve Rowe <sarowe@apache.org>
Authored: Tue Jul 18 16:34:56 2017 -0400
Committer: Steve Rowe <sarowe@apache.org>
Committed: Tue Jul 18 16:34:56 2017 -0400

----------------------------------------------------------------------
 solr/CHANGES.txt                                               | 1 +
 .../src/test-files/solr/collection1/conf/schema-behavior.xml   | 6 +++---
 .../core/src/test-files/solr/collection1/conf/schema-enums.xml | 2 +-
 3 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/8d5c029c/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 5665523..1d94c32 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 false

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/8d5c029c/solr/core/src/test-files/solr/collection1/conf/schema-behavior.xml
----------------------------------------------------------------------
diff --git a/solr/core/src/test-files/solr/collection1/conf/schema-behavior.xml b/solr/core/src/test-files/solr/collection1/conf/schema-behavior.xml
index 9a0b6d3..2fb50c7 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 -->
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/8d5c029c/solr/core/src/test-files/solr/collection1/conf/schema-enums.xml
----------------------------------------------------------------------
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.xml
index b3a9515..85b4ffa 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>


Mime
View raw message