[Koha-bugs] [Bug 8962] Create a new index for OPAC simple search, more specific than "any"

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jan 26 20:42:38 CET 2013


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

--- Comment #9 from mathieu saby <mathieu.saby at univ-rennes2.fr> ---
It is still a draft, but I have rebased and completed my patch, and splitted it
in 3 patches (more easy to test and to rewrite).
It is still only for GRS1 indexing.
1st patch contains CCL changes and templates changes/
2st patch contains Marc21 changes (biblio and authorities)
3rd patch contains Unimarc changes (biblio and authorities)

What should be different from before ?
This patch adds a new index Anywhere in ccl.properties and add "any word"
option in intranet search for using this index.
Default OPAC and intranet search in still using CCL "Any" index.
In record.abs for biblio and authorities, for the 2 marc flavor : 
- Defines a new index "anywhere" for indexing all biblio and authorities
subfields.
- Old "any" index is slightly more selective than before

Details of changes for Unimarc : 
- for authorities : all fields indexed in any except 001 and notes
- for biblios  : index 01X, 07X, 7XX except $9, 200, 205, 210c, 225, 328, 330,
4XX, 5XX except $9, 6XX except $9 and 67/68X, 995fkr

For Marc21 : 
- for authorities : all fields indexed in any except 001
- for biblios : fields indexed in any : 02X, 030, 110, 111, 130, 21X, 22X, 24X,
260b, 4XX, 505, 520, 6XX, 7XX, 8XX, 952p

=> so, for example, "any" does NOT indexes
* notes (except 328/330 in Unimarc and 505/520 in Marc21)
* date of publication
* place of publication (town of the publisher)
* extent
* item notes
* biblionumber

To test :
- apply the 3 patches
- rebuild zebra biblios index
- rebuild zebra authorities index
- make some searches : for example, check if place of edition or notes are
indexed...

If it works, we need to 
- discuss the choice of fields that must remain in "any"
- do the same for DOM indexing
- do the same for Normarc

M. Saby
Rennes 2 University

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


More information about the Koha-bugs mailing list