This is an automated email from the ASF dual-hosted git repository. snagel pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nutch.git
commit a9ea1f1012f6d1b4296d4728b00cf7498aa05dba Author: Sebastian Nagel <sna...@apache.org> AuthorDate: Mon Oct 15 15:04:01 2018 +0200 NUTCH-2655 Update Solr schema.xml for Solr 7.x - add required field types to schema.xml --- conf/schema.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/conf/schema.xml b/conf/schema.xml index 6e7d5bf..2b095e5 100644 --- a/conf/schema.xml +++ b/conf/schema.xml @@ -300,6 +300,19 @@ <fieldType name="boolean" class="solr.BoolField" sortMissingLast="true"/> <fieldType name="booleans" class="solr.BoolField" sortMissingLast="true" multiValued="true"/> + <!-- required for Solr 6 + 7 compatibility --> + <fieldType name="pdate" class="solr.DatePointField" docValues="true"/> + <fieldType name="pdates" class="solr.DatePointField" docValues="true" multiValued="true"/> + <fieldType name="pint" class="solr.IntPointField" docValues="true"/> + <fieldType name="pfloat" class="solr.FloatPointField" docValues="true"/> + <fieldType name="plong" class="solr.LongPointField" docValues="true"/> + <fieldType name="pdouble" class="solr.DoublePointField" docValues="true"/> + <fieldType name="pints" class="solr.IntPointField" docValues="true" multiValued="true"/> + <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"/> + <!-- sortMissingLast and sortMissingFirst attributes are optional attributes are currently supported on types that are sorted internally as strings and on numeric types.