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:41:56 +0000 (15:41 -0500)
commita4cbec6a24ea4f4dce22471c8563f00f85a956b4
tree7cc7c8d6087f58d22aa9928c26c754b11ee885bd
parentaafe1c65d104c75453133ba97e662846a8549cd4
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]