Reindex is not just for non-filing indicators anymore
authorDan Scott <dscott@laurentian.ca>
Mon, 14 Nov 2011 22:16:46 +0000 (17:16 -0500)
committerDan Scott <dscott@laurentian.ca>
Mon, 14 Nov 2011 22:16:46 +0000 (17:16 -0500)
Since we discovered the apostrophe parsing problem affects records with
text containing apostrophes at any position, don't limit ourselves to
non-filing indicator titles. In theory you might want to reindex any
record that contains an apostrophe, but in practice we found the most
confusion occurs with searching for titles - so target those in the
upgrade script.

Signed-off-by: Dan Scott <dscott@laurentian.ca>
Open-ILS/src/sql/Pg/upgrade/XXXX.fix-nonfiling-titles.sql

index 3488c96..dad8614 100644 (file)
@@ -3240,7 +3240,6 @@ COMMIT;
 SELECT metabib.reingest_metabib_field_entries(record)
     FROM metabib.full_rec
     WHERE tag = '245'
-    AND ind2 > '0'
     AND subfield = 'a'
     AND value LIKE '%''%'
 ;