From: Bill Erickson Date: Tue, 1 Mar 2016 15:45:27 +0000 (-0500) Subject: JBAS-1246 Call number search configs continued X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=5c4709ec51da5db2e0714ce7636fd44fff560606;p=working%2FEvergreen.git JBAS-1246 Call number search configs continued Signed-off-by: Bill Erickson --- 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.