Return-Path: Received: from localhost.localdomain (user-387g03k.cable.mindspring.com [208.120.0.116]) by mx.google.com with ESMTPS id g2sm131464vbz.0.2011.03.15.13.52.42 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 15 Mar 2011 13:52:43 -0700 (PDT) From: Jared Camins-Esakov To: dev@bywatersolutions.com Cc: Jared Camins-Esakov Subject: [PATCH 1/2] Bug 5868: Subject indexes do not search 6xx fields Date: Tue, 15 Mar 2011 16:53:21 -0400 Message-Id: <1300222402-10896-1-git-send-email-jcamins@bywatersolutions.com> X-Mailer: git-send-email 1.7.2.3 Content-Type: text/plain; charset="utf-8" Prior to this change, the named Zebra Subject phrase index did not include the 600, 610, 611, 630, 654, 655, 656, and 657 fields. This could be seen in searches such as: "su:Bible and su:N.T. and su:Matthew and su:Textbooks", which should return a result with the following field: =630 00$aBible.$pN.T.$pMatthew$vTextbooks. This did not formerly work. This patch modifies etc/zebradb/marc_defs/marc21/biblios/records.abs. This file must be installed and biblios reindexed in Zebra for the changes made here to affect records already in the catalog. --- etc/zebradb/marc_defs/marc21/biblios/record.abs | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/etc/zebradb/marc_defs/marc21/biblios/record.abs b/etc/zebradb/marc_defs/marc21/biblios/record.abs index 85eaedd..6e7dce8 100755 --- a/etc/zebradb/marc_defs/marc21/biblios/record.abs +++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs @@ -158,19 +158,19 @@ melm 600$a Name-and-title,Name,Personal-name,Subject-name-personal,Subject melm 600$t Name-and-title,Title,Subject melm 600$9 Koha-Auth-Number #melm 600 Name,Personal-name,Subject-heading,Subject-name-personal -melm 600 Name,Personal-name,Subject-name-personal,Subject +melm 600 Name,Personal-name,Subject-name-personal,Subject,Subject:p melm 610$a Name-and-title melm 610$t Name-and-title,Title melm 610$9 Koha-Auth-Number -melm 610 Name,Subject,Corporate-name +melm 610 Name,Subject,Subject:p,Corporate-name melm 611$a Name-and-title melm 611$t Name-and-title,Title melm 611$9 Koha-Auth-Number -melm 611 Conference-name,Name,Subject +melm 611 Conference-name,Name,Subject,Subject:p melm 630$n Thematic-number melm 630$r Music-key melm 630$9 Koha-Auth-Number -melm 630 Subject +melm 630 Subject,Subject:p melm 650$9 Koha-Auth-Number melm 650 Subject,Subject:p melm 651$9 Koha-Auth-Number @@ -180,13 +180,13 @@ melm 652$9 Koha-Auth-Number melm 653$9 Koha-Auth-Number melm 653 Subject,Subject:p melm 654$9 Koha-Auth-Number -melm 654 Subject +melm 654 Subject,Subject:p melm 655$9 Koha-Auth-Number -melm 655 Subject +melm 655 Subject,Subject:p melm 656$9 Koha-Auth-Number -melm 656 Subject +melm 656 Subject,Subject:p melm 657$9 Koha-Auth-Number -melm 657 Subject +melm 657 Subject,Subject:p melm 658$a curriculum:w,curriculum:p melm 658$b curriculum:w,curriculum:p melm 658$c curriculum:w,curriculum:p -- 1.7.2.3