Index corporate authors based on relator codes
authorDan Scott <dscott@laurentian.ca>
Tue, 30 Oct 2012 16:08:54 +0000 (12:08 -0400)
committerBen Shum <bshum@biblio.org>
Sun, 23 Dec 2012 20:34:54 +0000 (15:34 -0500)
commit2909f660c48f4a12904b03af80c65828f3ce180a
tree27b4fd01db86a41ec54bfab54736ac650737beaa
parent3d76a89ea012670ed69b3450dbf2440eb1c08d2e
Index corporate authors based on relator codes

The existing stock index for corporate authors only kicks in if the
710 subfield 'e' == 'creator', but relator codes (in subfield '4') are
by many accounts a preferred mode of identifying the relationship of an
added entry. Thus, add '4' == ('aut' or 'cre') to the criteria for
indexing a corporate author.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Signed-off-by: Ben Shum <bshum@biblio.org>
Open-ILS/src/sql/Pg/950.data.seed-values.sql
Open-ILS/src/sql/Pg/upgrade/XXXX.data.index_corporate_authors.sql [new file with mode: 0644]