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)
committerDan Wells <dbw2@calvin.edu>
Wed, 9 Oct 2013 18:01:41 +0000 (14:01 -0400)
commit6890e1edf4ffc3c982557ea9ce6275f6207dc86e
treeabaaee0384c50067b57a8516ab75dc91bdb35f1a
parent92c2d75e0bb6815f4f02674ffe354714785154dc
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>
Open-ILS/src/sql/Pg/030.schema.metabib.sql