[Koha-bugs] [Bug 11202] Improve UNIMARC biblio indexing

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Nov 5 16:37:36 CET 2013


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

--- Comment #1 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
Created attachment 22733
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22733&action=edit
Improve UNIMARC biblio indexing

This patch makes the following changes to UNIMARC biblio indexing :
A. Changes to UNIMARC conf files
1. add comments to biblio-koha-indexdefs.xml
2. make biblio-koha-indexdefs.xml more compact by grouping some declarations
Ex : 200$f and 200$g => one declaration for 200$fg
3. suppress unneeded declarations (indexing of some 4XX fields and 6XX fields
not in unimarc format)
4. unindex some fields unneeded by most users (328, 207,230,210a,215)
6. replace Title-host with Host-item -- see bug 11119
7. index 208 in Material-Type -- see bug 11119
8. index 100 pos 8-9 and 9-12 in pubdate, but not in pubdate:s
This change will only index 2 new fields, but not change the current sorting
(made on 210$d)
More work is needed for improving date management. 
9. Index all subfields of note 318 and 327 in note index
10. Index 304 and 327 in title index as well as note index
327 can contain a list of titles included in a work
304 can contain the title of the original work in case of a translation
11. Index 314 in author index as well as note index
314 can contain authors not mentionned in 200$f/g (the 4th, 5th etc author)
12. Index 328 note in Dissertation-information as well as note

B. Changes to ccl.properties :
1. add a new index Dissertation-information (1056)
2. fix EAN, pubdate and acqdate (they were not linked with bib1 attributes)

C. Changes to Search.pm
1. add Dissertation-information and suppress Title-host and UPC

D. Changes to QP config file queryparser.yaml
1. add Dissertation-information
2 fix EAN, pubdate and acqdate

Test plan :
If you cannot test in GRS1, test only in DOM, as GRS will be deprecated.

1. Apply the patch in a UNIMARC Koha running with DOM and ICU
2. copy src/etc/searchengine/queryparser.yaml into the main config directory of
QP
2. copy src/etc/zebradb/* (all the tree) into the main config directory of
Zebra
3. reindex biblios (rebuild_zebra.pl -r -b -x -v)
4. test note index : make some searches on 318$b or 327$b
5. test author index : make some searches on 314 field
6. test title index : make some searches on 304 and 327 field
7. test Dissertation-information index : make some searches on 328 field
8. In a record, put in the dates of 100 fields the values "1000" and "1001" ;
try to search a book written in year 1000, you should find the record ; idem
for year 1001
9. Regression test (with and without QP activated) : make some searches and
sort by date. It should work (well or bad...) as before
10. Regression test (with and without QP activated) : make some searches on EAN
(073). It should work as before

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


More information about the Koha-bugs mailing list