]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP932540: Fix ISSN indexing
authorDan Scott <dan@coffeecode.net>
Thu, 22 Mar 2012 02:39:40 +0000 (22:39 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 26 Mar 2012 14:55:46 +0000 (10:55 -0400)
commit5bdbc2ce4abeb506cb2daa65ce7b4b0c6ced109c
tree97cdfe6518deffdfa06da4fcff694feb358e87e3
parent66a470a28d133da13a60de76a56008aa1252adec
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]