]> git.evergreen-ils.org Git - Evergreen.git/commit
LP932540: Fix ISSN indexing
authorDan Scott <dan@coffeecode.net>
Thu, 22 Mar 2012 02:48:46 +0000 (22:48 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 26 Mar 2012 15:00:22 +0000 (11:00 -0400)
commit4eae8cdad8f32c31671b6ecec73122263aeb98f6
treec1af5965a7741f25c0497145867290fffcee9540
parentc0e3515dbbf5ac7941b183d6f0f063d1e2b992d0
LP932540: Fix ISSN indexing

The default config.metabib_field_index_norm_map contains a 'replace'
entry for the ISSN identifier field that replaces spaces with "". That
was meant to handle ISSNs that incorrectly contain a space instead of a
hyphen; it normalizes them from: "1234 1234" to "12341234".

However, that breaks indexing ISSNs if there are multiple ISSNs in the
record, or even if there is an extra character in the same subfield as
the primary ISSN, as all spaces are removed.

This commit removes the 'replace' entry for the ISSN identifier field
and reindexes potentially damaged ISSN index entries.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.schema.do_not_despace_issns.sql [new file with mode: 0644]