From e1d5ce41c66e88f83912788f2902d7c1c1b20456 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Mon, 2 Jul 2012 08:48:41 -0400
Subject: [PATCH] Added dynamic fields to authority core for consistency with
 biblio core.

---
 solr/authority/conf/schema.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/solr/authority/conf/schema.xml b/solr/authority/conf/schema.xml
index 1964a8d4834..66f488f1ec3 100644
--- a/solr/authority/conf/schema.xml
+++ b/solr/authority/conf/schema.xml
@@ -45,6 +45,14 @@
     <!-- Tracking fields to keep track of oldest and most recent index times -->
     <field name="first_indexed" type="date" indexed="true" stored="true"/>
     <field name="last_indexed" type="date" indexed="true" stored="true"/>
+
+    <!-- Dynamic fields for customization without schema modification -->
+    <dynamicField name="*_date" type="date" indexed="true" stored="true"/>
+    <dynamicField name="*_date_mv" type="date" indexed="true" stored="true" multiValued="true"/>
+    <dynamicField name="*_str" type="string" indexed="true" stored="true"/>
+    <dynamicField name="*_str_mv" type="string" indexed="true" stored="true" multiValued="true"/>
+    <dynamicField name="*_txt" type="text" indexed="true" stored="true"/>
+    <dynamicField name="*_txt_mv" type="text" indexed="true" stored="true" multiValued="true"/>
   </fields>
 
   <uniqueKey>id</uniqueKey>
-- 
GitLab