[Koha-bugs] [Bug 9352] Zebra indexes useless subfields in UNIMARC 7XX

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jan 5 13:22:35 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9352

--- Comment #2 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
Solution :
This patch makes indexing of unimarc 7XX fields more specific. For each field,
useless subfields are not indexed.
70X : Do not index $f (dates),$c (additions other than dates),$p
(affiliation/address),$3,$4. Index $9 only in Koha-Auth-Number.
710-712 : Do not index $p (affiliation/address),$3,$4. Index $9 only in
Koha-Auth-Number. (I kept all other subfields : even if some may be useless I
am not sure of it)
716 : Do not index $f (dates),$c (additions other than dates),$3,$4. Index $9
only in Koha-Auth-Number.
72X : Do not index $f (dates),$3,$4. Index $9 only in Koha-Auth-Number.
730 : Do not index $4. Index $9 only in Koha-Auth-Number.
Additionnaly, this patch indexes 205$f/$g in Author index (author of the
edition of the work)
Testing :
a/ Create a record with
700$a Doe $b John $f1950 $cteacher $4070
716$a Trademark $f1960 $cgreat $4340
720$a Family $f1980 $4651
205$a 1st edition $fBy some guy $gAnd other guys

a/ Before applying patch :
Search in simple search and author search : "teacher", "great", "1950", "070",
"340", "651" => you will see the record among the results
Search in simple search and author search : "Doe", "John Doe", "Trademark",
"Family"        => you will see the record among the results
Search in simple search and author search : "guy", "guys"                      
            => you will not see the record among the results


b/ Before applying patch :
Search in simple search and author search : "teacher", "great", "1950", "070",
"340", "651" => you will not see the record among the results
Search in simple search and author search : "Doe", "John Doe", "Trademark",
"Family"        => you will see the record among the results
Search in simple search and author search : "guy", "guys"                      
            => you will see the record among the results

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list