Don't index browse extracts as search terms unless needed
authorDan Wells <dbw2@calvin.edu>
Wed, 9 Oct 2013 17:46:55 +0000 (13:46 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 9 Oct 2013 22:15:42 +0000 (18:15 -0400)
commite39c9a6e9634f3a49bd99f070f144cef1e625a45
treef3f16ebbeea18b160e8af8a4a8dd369aff8b43d9
parent99cdb8a0db91b4755b5799469080a729886a9865
Don't index browse extracts as search terms unless needed

In previous releases, we didn't have any major config.metabib_field
rows which had 'browse_field = true' but 'search_field = false'.  Now
that we have one (for title browse), make sure we honor the
'search_field = false' by not creating rows in the
metabib.xxxxxx_field_entry tables.

This gets us back to where we started as far as what gets into the
search index tables, but we should consider going a step further and
*not* adding the glommed row to the search tables if we are already
adding separate rows for search+browse.

Signed-off-by: Dan Wells <dbw2@calvin.edu>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/sql/Pg/030.schema.metabib.sql