Bug 11619: remove duplicate key in QueryParser config
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 27 Jan 2014 12:50:01 +0000 (13:50 +0100)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 4 Feb 2014 18:42:12 +0000 (18:42 +0000)
Corrects a double entry for language in yaml file.
Language should have been language-original.

Test plan:
Check that you have language-original in your zebra install.
Specifically, this index should cover MARC21 041$h.
Enable QueryParser and search for a record with this index.
Note that this patch does not enable searching on this
index without QueryParser. This is true for many more indexes
in record.abs that are not included in the getIndexes routine.

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Works as described - make sure you are testing with a current
indexing configuration.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
etc/searchengine/queryparser.yaml

index 832643a..a5532ac 100644 (file)
@@ -654,14 +654,14 @@ field_mappings:
         - language
         - ln
       label: Language
-    language:
+    language-original:
       bib1_mapping:
         biblioserver:
           1: 1095
       enabled: 1
+      index: language-original
       aliases:
         - language-original
-      index: language-original
       label: Language of original
     lc-card-number:
       bib1_mapping: