Apache Lucene open-source search software
SOLR-7675: add missing _root_ field to managed-schema for nested docs indexing
Yonik Seeley63db425c8702
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txtindex 5b6aaa7ac1d..8d6bc80506a 100644--- a/solr/CHANGES.txt+++ b/solr/CHANGES.txt@@ -126,6 +126,9 @@ Bug Fixes* SOLR-7566: Search requests should return the shard name that is down. (Marius Grama, shalin)+* SOLR-7667: Add missing _root_ field to managed-schema template so that the default data driven+ config set can index nested documents by default. (yonik)+Optimizations----------------------* SOLR-7660: Avoid redundant 'exists' calls made to ZK while fetching cluster state updates. (shalin)diff --git a/solr/server/solr/configsets/data_driven_schema_configs/conf/managed-schema b/solr/server/solr/configsets/data_driven_schema_configs/conf/managed-schemaindex aec8cc50f09..8b10b4d88bf 100644--- a/solr/server/solr/configsets/data_driven_schema_configs/conf/managed-schema+++ b/solr/server/solr/configsets/data_driven_schema_configs/conf/managed-schema@@ -118,6 +118,7 @@--><field name="id" type="string" indexed="true" stored="true" required="true" multiValued="false" /><field name="_version_" type="long" indexed="true" stored="true"/>+ <field name="_root_" type="string" indexed="true" stored="false"/><field name="_text_" type="text_general" indexed="true" stored="false" multiValued="true"/><copyField source="*" dest="_text_"/>