[Koha-bugs] [Bug 11194] Add a new index for "Edition Statement" of a MARC Record
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Mar 18 12:20:20 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11194
Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #36978|0 |1
is obsolete| |
--- Comment #2 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 36979
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=36979&action=edit
Bug 11194 - Add a new index for "Edition Statement" of a MARC Record
Adds the "Edition Statement" MARC-field as a sortable search index in Koha.
This Field is also used by the MARC::Record->edition().
It is mapped to search keyword "edition" and it targets the following
MARC-fields:
UNIMARC: all 205-subfields concatenated
MARC21 : all 250-subfields concatenated
NORMARC: all 250-subfields concatenated
After applying this patch a full biblio reindexing needs to be done to make old
records searchable. New Biblios, and Biblios that are part of some operations
(checkin/out/hold/...), are searchable. These generate good test data to test
this feature without fully reindexing the search index.
TEST PLAN:
0. Move the search index and search word definitions from the koha source code
to the directory where Zebra uses them.
This is most easiest to do by reinstalling Koha, but can be manually moved
as well.
1. Find a record with some data in the "Edition Statement" -field.
2. Modify that Record and reindex it.
3. Search with the keyword "edition='<edition_statement>'" where
<edition_statement> is the stuff you wrote in the MARC-field.
4. Observe the found record.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list