From ae8f8b0703514720459399b9b1f19e5124fc5791 Mon Sep 17 00:00:00 2001 From: Mathieu Saby Date: Sun, 3 Nov 2013 18:33:02 +0100 Subject: [PATCH] Bug 11193 : edit Queryparser configuration to take changes of bug 8252 into account Content-Type: text/plain; charset=utf-8 This patch make some changes to queryparser.yaml, to take into account the changes made in ccl.properties * new indexes : bio, char-encoding, country-publication, cumulative-index-availability, ff7-00, ff7-01, ff7-02, ff7-01-02, ff8-18, ff8-18-21, ff8-19, ff8-21, ff8-28,ff8-29,ff8-30,ff8-31, ta, lf, music-number, title-page-availability, script-title, tpubdate, rtype * deleted indexes : audience and ff8-22 (alias of ta), biography and ff-834 (alias of bio), format (alias of ff8-23), l-format (alias of ff7-01-02), illustration-code (alias of ff8-18-21), regularity-code, type-of-serial (alias of ff8-21), literature-code (alias of lf), music (alias of music-number), record-type (alias of rtype) * changed index : graphics-type, graphics-support, video-mt I am not sure if I understood well the behavior of this file, and of the best way for testing the changes made... --- etc/searchengine/queryparser.yaml | 288 +++++++++++++++++++++++++------------ 1 files changed, 194 insertions(+), 94 deletions(-) diff --git a/etc/searchengine/queryparser.yaml b/etc/searchengine/queryparser.yaml index d9f637b..b6cdff5 100644 --- a/etc/searchengine/queryparser.yaml +++ b/etc/searchengine/queryparser.yaml @@ -115,16 +115,6 @@ field_mappings: enabled: 1 index: arp label: Arp - audience: - aliases: - - audience - - aud - bib1_mapping: - biblioserver: - 1: 8822 - enabled: 1 - index: audience - label: Audience authtype: aliases: - authtype @@ -183,25 +173,18 @@ field_mappings: aliases: - biblionumber label: Biblionumber - biography: + bio: bib1_mapping: biblioserver: 1: 8834 enabled: 1 - index: biography + index: bio aliases: - - biography - bio - label: Biography - biography-code: - bib1_mapping: - biblioserver: - 1: Biography-code - enabled: 1 - index: biography-code - aliases: + - ff8-34 + - biography - biography-code - label: Biography-code + label: Bio ccode: bib1_mapping: biblioserver: @@ -212,6 +195,15 @@ field_mappings: - ccode - mc-ccode label: Ccode + char-encoding: + bib1_mapping: + biblioserver: + 1: 9707 + enabled: 1 + index: char-encoding + aliases: + - char-encoding + label: Char-encoding classification-source: bib1_mapping: biblioserver: @@ -330,6 +322,24 @@ field_mappings: aliases: - copynumber label: Copynumber + country-publication: + bib1_mapping: + biblioserver: + 1: 1053 + enabled: 1 + index: country-publication + aliases: + - country-publication + label: Country-publication + cumulative-index-availability: + bib1_mapping: + biblioserver: + 1: 9705 + enabled: 1 + index: cumulative-index-availability + aliases: + - cumulative-index-availability + label: Cumulative-index-availability curriculum: bib1_mapping: biblioserver: @@ -447,15 +457,83 @@ field_mappings: aliases: - extent label: Extent - ff8-22: + ff7-00: bib1_mapping: biblioserver: - 1: 8822 + 1: 8700 enabled: 1 - index: ff8-22 + index: ff7-00 aliases: - - ff8-22 - label: Ff8-22 + - ff7-00 + label: Ff7-00 + ff7-01: + bib1_mapping: + biblioserver: + 1: 8701 + enabled: 1 + index: ff7-01 + aliases: + - ff7-01 + label: Ff7-01 + ff7-02: + bib1_mapping: + biblioserver: + 1: 8702 + enabled: 1 + index: ff7-02 + aliases: + - ff7-01 + label: Ff7-01 + ff7-01-02: + bib1_mapping: + biblioserver: + 1: 8703 + enabled: 1 + index: ff7-01-02 + aliases: + - ff7-01-02 + - l-format + label: Ff7-01-02 + ff8-18: + bib1_mapping: + biblioserver: + 1: 8818 + enabled: 1 + index: ff8-18 + aliases: + - ff8-18 + - frequency-code + label: Ff8-18 + ff8-18-21: + bib1_mapping: + biblioserver: + 1: 8840 + enabled: 1 + index: ff8-18-21 + aliases: + - ff8-18-21 + - illustration-code + label: Ff8-18-21 + ff8-19: + bib1_mapping: + biblioserver: + 1: 8819 + enabled: 1 + index: ff8-19 + aliases: + - ff8-19 + - regularity-code + label: Ff8-19 + ff8-21 + bib1_mapping: + biblioserver: + 1: 8821 + enabled: 1 + index: ff8-21 + aliases: + - ff8-21 + - type-of-serial + label: Ff8-21 ff8-23: bib1_mapping: biblioserver: @@ -464,52 +542,66 @@ field_mappings: index: ff8-23 aliases: - ff8-23 + - format label: Ff8-23 - ff8-34: + ff8-28: bib1_mapping: biblioserver: - 1: 8834 + 1: 8828 enabled: 1 - index: ff8-34 + index: ff8-28 aliases: - - ff8-34 - label: Ff8-34 - fiction: + - ff8-28 + label: Ff8-28 + ff8-29: bib1_mapping: biblioserver: - 1: 8833 + 1: 8829 enabled: 1 - index: fiction + index: ff8-29 aliases: - - fiction - - fic - label: Fiction - format: + - ff8-29 + - Conference-code + label: Ff8-29 + ff8-30: bib1_mapping: biblioserver: - 1: 8823 + 1: 8830 enabled: 1 - index: format + index: ff8-30 aliases: - - format - label: Format + - ff8-30 + - Festschrift-indicator + label: Ff8-30 + ff8-31: + bib1_mapping: + biblioserver: + 1: 8831 + enabled: 1 + index: ff8-31 + aliases: + - ff8-31 + - Index-indicator + label: Ff8-31 graphics-support: bib1_mapping: biblioserver: - 1: Graphic-support + 1: 9703 enabled: 1 index: graphics-support aliases: - graphics-support + - graphic-support label: Graphics-support graphics-type: bib1_mapping: biblioserver: - 1: Graphic-type + 1: 9702 enabled: 1 index: graphics-type aliases: - graphics-type + - graphic-type label: Graphics-type holdingbranch: bib1_mapping: @@ -568,15 +660,6 @@ field_mappings: - identifier-standard - ident label: Identifier-standard - illustration-code: - bib1_mapping: - biblioserver: - 1: "Illustration-code " - enabled: 1 - index: illustration-code - aliases: - - illustration-code - label: Illustration-code isbn: bib1_mapping: biblioserver: @@ -644,15 +727,6 @@ field_mappings: - itype - mc-itype label: Itype - l-format: - bib1_mapping: - biblioserver: - 1: 8703 - enabled: 1 - index: l-format - aliases: - - l-format - label: L-format language: bib1_mapping: biblioserver: @@ -800,15 +874,18 @@ field_mappings: aliases: - lex label: Lexile - literature-code: + lf: bib1_mapping: biblioserver: - 1: Literature-Code + 1: 8833 enabled: 1 - index: literature-code + index: lf aliases: + - lf + - fiction + - fic - literature-code - label: Literature-code + label: Lf llength: bib1_mapping: biblioserver: @@ -885,15 +962,16 @@ field_mappings: aliases: - materials-specified label: Materials-specified - music: + music-number: bib1_mapping: biblioserver: - 1: Music-number + 1: 51 enabled: 1 - index: music + index: music-number aliases: - music - label: Music + - number-music-publisher + label: Music-number name: bib1_mapping: biblioserver: @@ -912,6 +990,7 @@ field_mappings: aliases: - note - nt + - notes label: Note notforloan: bib1_mapping: @@ -990,27 +1069,18 @@ field_mappings: - record-control-number - rcn label: Record-control-number - record-type: + rtype: bib1_mapping: biblioserver: 1: 1001 enabled: 1 - index: record-type + index: rtype aliases: - - record-type - rtype + - record-type - mc-rtype - mus - label: Record-type - regularity-code: - bib1_mapping: - biblioserver: - 1: Regularity-code - enabled: 1 - index: regularity-code - aliases: - - regularity-code - label: Regularity-code + label: Rtype renewals: bib1_mapping: biblioserver: @@ -1056,6 +1126,24 @@ field_mappings: aliases: - restricted label: Restricted + tpubdate: + bib1_mapping: + biblioserver: + 1: 8806 + enabled: 1 + index: tpubdate + aliases: + - tpubdate + label: Tpubdate + script-title: + bib1_mapping: + biblioserver: + 1: 9706 + enabled: 1 + index: script-title + aliases: + - script-title + label: Script-title stack: bib1_mapping: biblioserver: @@ -1103,6 +1191,18 @@ field_mappings: aliases: - suppress label: Suppress + ta: + bib1_mapping: + biblioserver: + 1: 8822 + enabled: 1 + index: ta + aliases: + - ta + - ff8-22 + - aud + - audience + label: Ta titleext: bib1_mapping: biblioserver: @@ -1121,6 +1221,15 @@ field_mappings: index: title aliases: [] label: Title kw + title-page-availability: + bib1_mapping: + biblioserver: + 1: 9704 + enabled: 1 + index: title-page-availability + aliases: + - title-page-availability + label: Title-page-availability thesaurus: bib1_mapping: authorityserver: @@ -1139,15 +1248,6 @@ field_mappings: aliases: - totalissues label: Totalissues - type-of-serial: - bib1_mapping: - biblioserver: - 1: Type-Of-Serial - enabled: 1 - index: type-of-serial - aliases: - - type-of-serial - label: Type-of-serial upc: bib1_mapping: biblioserver: @@ -1169,7 +1269,7 @@ field_mappings: video-mt: bib1_mapping: biblioserver: - 1: Video-mt + 1: 9701 enabled: 1 index: video-mt aliases: -- 1.7.7.6