lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbern...@apache.org
Subject [3/8] lucene-solr:master: SOLR-12175: Add random field type and dynamic field to the default managed-schema
Date Thu, 05 Apr 2018 18:00:17 GMT
SOLR-12175: Add random field type and dynamic field to the default managed-schema


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

Branch: refs/heads/master
Commit: d420139c27013ddd8c5aab9dea79dab09736e869
Parents: f1d6911
Author: Joel Bernstein <jbernste@apache.org>
Authored: Tue Apr 3 16:25:59 2018 -0400
Committer: Joel Bernstein <jbernste@apache.org>
Committed: Thu Apr 5 14:00:07 2018 -0400

----------------------------------------------------------------------
 solr/server/solr/configsets/_default/conf/managed-schema | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d420139c/solr/server/solr/configsets/_default/conf/managed-schema
----------------------------------------------------------------------
diff --git a/solr/server/solr/configsets/_default/conf/managed-schema b/solr/server/solr/configsets/_default/conf/managed-schema
index 4168a83..6f4e2ef 100644
--- a/solr/server/solr/configsets/_default/conf/managed-schema
+++ b/solr/server/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


Mime
View raw message