You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by jb...@apache.org on 2018/04/06 15:09:57 UTC

[7/8] lucene-solr:branch_7x: SOLR-12175: Fix TestConfigSetsAPI

SOLR-12175: Fix TestConfigSetsAPI


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

Branch: refs/heads/branch_7x
Commit: 6a5d6880ea039ad66b99ebeb5e5ee875d2bed274
Parents: 03461d8
Author: Joel Bernstein <jb...@apache.org>
Authored: Thu Apr 5 12:39:33 2018 -0400
Committer: Joel Bernstein <jb...@apache.org>
Committed: Fri Apr 6 10:09:14 2018 -0400

----------------------------------------------------------------------
 .../src/test-files/solr/configsets/_default/conf/managed-schema   | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/6a5d6880/solr/core/src/test-files/solr/configsets/_default/conf/managed-schema
----------------------------------------------------------------------
diff --git a/solr/core/src/test-files/solr/configsets/_default/conf/managed-schema b/solr/core/src/test-files/solr/configsets/_default/conf/managed-schema
index 4168a83..6f4e2ef 100644
--- a/solr/core/src/test-files/solr/configsets/_default/conf/managed-schema
+++ b/solr/core/src/test-files/solr/configsets/_default/conf/managed-schema
@@ -139,6 +139,7 @@
     <dynamicField name="*_fs" type="pfloats"  indexed="true"  stored="true"/>
     <dynamicField name="*_d"  type="pdouble" indexed="true"  stored="true"/>
     <dynamicField name="*_ds" type="pdoubles" indexed="true"  stored="true"/>
+    <dynamicField name="random_*" type="random"/>
 
     <!-- Type used for data-driven schema, to add a string copy for each text field -->
     <dynamicField name="*_str" type="strings" stored="false" docValues="true" indexed="false" />
@@ -211,6 +212,8 @@
     <fieldType name="pfloats" class="solr.FloatPointField" docValues="true" multiValued="true"/>
     <fieldType name="plongs" class="solr.LongPointField" docValues="true" multiValued="true"/>
     <fieldType name="pdoubles" class="solr.DoublePointField" docValues="true" multiValued="true"/>
+    <fieldType name="random" class="solr.RandomSortField" indexed="true"/>
+
 
     <!-- The format for this date field is of the form 1995-12-31T23:59:59Z, and
          is a more restricted form of the canonical representation of dateTime