[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
Fri Jul 10 18:11:14 CEST 2015


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

--- Comment #10 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 40939
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40939&action=edit
[PASSED QA] 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.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Tested on MARC21 and UNIMARC, works
No errors

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list