Index corporate authors based on relator codes user/dbs/corporate_author
authorDan Scott <dscott@laurentian.ca>
Tue, 30 Oct 2012 16:08:54 +0000 (12:08 -0400)
committerDan Scott <dscott@laurentian.ca>
Tue, 30 Oct 2012 16:12:12 +0000 (12:12 -0400)
commit72496a1424d22880e2ae1bc936b9c34eea421c16
treee6de3b589e16e2c602ada2be81752e10155b5380
parent0e18946d8ce21af964ec71f8c460b234e79fc22b
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>
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]