From a6f28246ae08440da8065183dae091bbf0a0b34b Mon Sep 17 00:00:00 2001 From: Jared Camins-Esakov Date: Tue, 5 Apr 2011 11:19:01 +0200 Subject: [PATCH] Bug 5868: Subject indexes do not search 6xx fields MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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. Signed-off-by: Stéphane Delaune Signed-off-by: Chris Cormack --- etc/zebradb/marc_defs/marc21/biblios/record.abs | 16 ++++++++-------- 1 file 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 601cafd2fe..5cd5612c83 100755 --- a/etc/zebradb/marc_defs/marc21/biblios/record.abs +++ b/etc/zebradb/marc_defs/marc21/biblios/record.abs @@ -161,19 +161,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 @@ -183,13 +183,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 -- 2.39.2