Apache Solr open-source search software
SOLR-11306: Fix inaccurate comments on docValues and StrField in the example schemas
Varun Thackere30171397e54
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex f43bee07a6f..00d745db40d 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -301,6 +301,9 @@ Other Changes* SOLR-11351: Make LTRScoringModel model more extensible. (Christine Poerschke)* SOLR-10451: Remove contrib/ltr/lib from lib includes in the techproducts example config (sungjunyoung via janhoy)++* SOLR-11306: Fix inaccurate comments on docValues and StrField in the example schemas+ (Tom Burton-West, Jason Gerlowski, Varun Thacker)================== 7.0.1 ==================diff --git a/solr/core/src/test-files/solr/collection1/conf/schema_latest.xml b/solr/core/src/test-files/solr/collection1/conf/schema_latest.xmlindex 889d171e393..934451fbe21 100644--- a/solr/core/src/test-files/solr/collection1/conf/schema_latest.xml+++ b/solr/core/src/test-files/solr/collection1/conf/schema_latest.xml@@ -343,10 +343,7 @@standard package such as org.apache.solr.analysis-->- <!-- The StrField type is not analyzed, but indexed/stored verbatim.- It supports doc values but in that case the field needs to be- single-valued and either required or have a default value.- -->+ <!-- The StrField type is not analyzed, but indexed/stored verbatim. --><fieldType name="string" class="solr.StrField" sortMissingLast="true"/><!-- boolean type: "true" or "false" -->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-schemaindex 72b138f8d8e..abc72a0c9fd 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@@ -189,10 +189,7 @@field first in an ascending sort and last in a descending sort.-->- <!-- The StrField type is not analyzed, but indexed/stored verbatim.- It supports doc values but in that case the field needs to be- single-valued and either required or have a default value.- -->+ <!-- The StrField type is not analyzed, but indexed/stored verbatim. --><fieldType name="string" class="solr.StrField" sortMissingLast="true" docValues="true" /><fieldType name="strings" class="solr.StrField" sortMissingLast="true" multiValued="true" docValues="true" />diff --git a/solr/example/example-DIH/solr/db/conf/managed-schema b/solr/example/example-DIH/solr/db/conf/managed-schemaindex 88ed6d01b9b..ce41b1a7137 100644--- a/solr/example/example-DIH/solr/db/conf/managed-schema+++ b/solr/example/example-DIH/solr/db/conf/managed-schema@@ -291,10 +291,7 @@standard package such as org.apache.solr.analysis-->- <!-- The StrField type is not analyzed, but indexed/stored verbatim.- It supports doc values but in that case the field needs to be- single-valued and either required or have a default value.- -->+ <!-- The StrField type is not analyzed, but indexed/stored verbatim. --><fieldType name="string" class="solr.StrField" sortMissingLast="true" /><!-- boolean type: "true" or "false" -->diff --git a/solr/example/example-DIH/solr/mail/conf/managed-schema b/solr/example/example-DIH/solr/mail/conf/managed-schemaindex 6167dafcdfa..71b03a8f528 100644--- a/solr/example/example-DIH/solr/mail/conf/managed-schema+++ b/solr/example/example-DIH/solr/mail/conf/managed-schema@@ -210,10 +210,7 @@standard package such as org.apache.solr.analysis-->- <!-- The StrField type is not analyzed, but indexed/stored verbatim.- It supports doc values but in that case the field needs to be- single-valued and either required or have a default value.- -->+ <!-- The StrField type is not analyzed, but indexed/stored verbatim. --><fieldType name="string" class="solr.StrField" sortMissingLast="true" /><!-- boolean type: "true" or "false" -->diff --git a/solr/example/example-DIH/solr/solr/conf/managed-schema b/solr/example/example-DIH/solr/solr/conf/managed-schemaindex eed5a83c5eb..aa39ce54cc3 100644--- a/solr/example/example-DIH/solr/solr/conf/managed-schema+++ b/solr/example/example-DIH/solr/solr/conf/managed-schema@@ -291,10 +291,7 @@standard package such as org.apache.solr.analysis-->- <!-- The StrField type is not analyzed, but indexed/stored verbatim.- It supports doc values but in that case the field needs to be- single-valued and either required or have a default value.- -->+ <!-- The StrField type is not analyzed, but indexed/stored verbatim. --><fieldType name="string" class="solr.StrField" sortMissingLast="true" /><!-- boolean type: "true" or "false" -->diff --git a/solr/server/solr/configsets/_default/conf/managed-schema b/solr/server/solr/configsets/_default/conf/managed-schemaindex 72b138f8d8e..abc72a0c9fd 100644--- a/solr/server/solr/configsets/_default/conf/managed-schema+++ b/solr/server/solr/configsets/_default/conf/managed-schema@@ -189,10 +189,7 @@field first in an ascending sort and last in a descending sort.-->- <!-- The StrField type is not analyzed, but indexed/stored verbatim.- It supports doc values but in that case the field needs to be- single-valued and either required or have a default value.- -->+ <!-- The StrField type is not analyzed, but indexed/stored verbatim. --><fieldType name="string" class="solr.StrField" sortMissingLast="true" docValues="true" /><fieldType name="strings" class="solr.StrField" sortMissingLast="true" multiValued="true" docValues="true" />diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schemaindex 5d1986c910d..6d6b9fd3dee 100644--- a/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema+++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema@@ -283,10 +283,7 @@standard package such as org.apache.solr.analysis-->- <!-- The StrField type is not analyzed, but indexed/stored verbatim.- It supports doc values but in that case the field needs to be- single-valued and either required or have a default value.- -->+ <!-- The StrField type is not analyzed, but indexed/stored verbatim. --><fieldType name="string" class="solr.StrField" sortMissingLast="true" /><!-- boolean type: "true" or "false" -->