forked from solariumphp/solarium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathschema9.patch
22 lines (19 loc) · 1.26 KB
/
schema9.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema.xml b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema.xml
index 190214aebad..7a76a28276a 100644
--- a/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema.xml
+++ b/solr/server/solr/configsets/sample_techproducts_configs/conf/managed-schema.xml
@@ -118,7 +118,9 @@
<!-- points to the root document of a block of nested documents. Required for nested
document support, may be removed otherwise
-->
- <field name="_root_" type="string" indexed="true" stored="false" />
+ <field name="_root_" type="string" indexed="true" stored="true" />
+ <fieldType name="_nest_path_" class="solr.NestPathField" />
+ <field name="_nest_path_" type="_nest_path_" />
<!-- Only remove the "id" field if you have a very good reason to. While not strictly
required, it is highly recommended. A <uniqueKey> is present in almost all Solr
@@ -218,6 +220,7 @@
<dynamicField name="random_*" type="random"/>
<dynamicField name="ignored_*" type="ignored"/>
+ <dynamicField name="attr_*" type="text_general" indexed="true" stored="true" multiValued="true"/>
<dynamicField name="*_c" type="currency" indexed="true" stored="true"/>