6584: Enable searching on Zebra's Bib-level index
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Wed, 13 Jul 2011 13:05:16 +0000 (15:05 +0200)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 7 Oct 2011 00:43:47 +0000 (13:43 +1300)
Bib-level is already indexed in MARC21 record.abs.
But you cannot search this index, because it is commented in ccl.properties and
not listed in getIndexes of Search.pm.
This very simple patch does only do those two things.

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/Search.pm
etc/zebradb/ccl.properties

index c3cff65..343058a 100644 (file)
@@ -842,6 +842,7 @@ sub getIndexes{
                     'Authority-Number',
                     'authtype',
                     'bc',
+                   'Bib-level',
                     'biblionumber',
                     'bio',
                     'biography',
index ee2553c..890b364 100644 (file)
@@ -219,7 +219,7 @@ callnum Local-classification
 #                           bibliographic level such as
 #                           monograph, serial or collection
 #                           of the record.
-#Bib-level 1=1021
+Bib-level 1=1021
 #
 #Code-geographic-area   55  A code that indicates the       043
 #                           geographic area(s) that appear