From 5c4709ec51da5db2e0714ce7636fd44fff560606 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 1 Mar 2016 10:45:27 -0500 Subject: [PATCH] JBAS-1246 Call number search configs continued Signed-off-by: Bill Erickson --- KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql b/KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql index b47eaaba6d..bee3a7ef63 100644 --- a/KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql +++ b/KCLS/sql/schema/deploy/2.5-to-2.7-upgrade.sql @@ -14,11 +14,21 @@ ALTER TABLE authority.record_entry DISABLE TRIGGER map_thesaurus_to_control_set; BEGIN; +SET statement_timeout = 0; + -- Resolves issue with re-ingests failing on call number index entry create. --- discovered while re-indexing for JBAS-1246 +-- Discovered while re-indexing for JBAS-1246 +-- Cargo-culting the other configs for now. Will reasess as needed. CREATE TEXT SEARCH CONFIGURATION call_number (COPY = english_nostop); -SET statement_timeout = 0; +INSERT INTO config.metabib_class (name, label) + VALUES ('call_number', 'Call Number'); + +INSERT INTO config.metabib_class_ts_map + (field_class, ts_config, index_weight, always) +VALUES + ('call_number','simple','A',true), + ('call_number','english_nostop','C',true); /* JBAS-1093 Allow duplicate sort_values on browse entries. -- 2.11.0