From 463ce1f42b41766013aa9a89c70520e2062c4e22 Mon Sep 17 00:00:00 2001
From: Demian Katz <demian.katz@villanova.edu>
Date: Tue, 10 Jul 2018 09:15:18 -0400
Subject: [PATCH] Multi-valued allfields for authorities.

---
 import/marc_auth.properties           | 2 +-
 solr/vufind/authority/conf/schema.xml | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/import/marc_auth.properties b/import/marc_auth.properties
index 5ef540dee66..30d7b527ea6 100644
--- a/import/marc_auth.properties
+++ b/import/marc_auth.properties
@@ -13,7 +13,7 @@ source = "Unknown"
 record_type = "Unknown"
 
 fullrecord = FullRecordAsMarc
-allfields = custom, getAllSearchableFields(100, 900)
+allfields = custom, getAllSearchableFieldsAsSet(100, 900)
 
 # These are just artificial examples -- as with source and record_type, they
 # should be overridden in a second properties file:
diff --git a/solr/vufind/authority/conf/schema.xml b/solr/vufind/authority/conf/schema.xml
index 1510438a71e..c653c21649b 100644
--- a/solr/vufind/authority/conf/schema.xml
+++ b/solr/vufind/authority/conf/schema.xml
@@ -28,7 +28,7 @@
     <field name="id" type="string" indexed="true" stored="true"/>
     <field name="fullrecord" type="string" indexed="false" stored="true"/>
     <field name="marc_error" type="string" indexed="false" stored="true" multiValued="true"/>
-    <field name="allfields" type="text" indexed="true" stored="false"/>
+    <field name="allfields" type="text" indexed="true" stored="false" multiValued="true"/>
 
     <!-- Extra identifiers - where did authority record originate? -->
     <field name="source" type="string" indexed="true" stored="true"/>
-- 
GitLab