You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Throughout the db, former TSVECTOR columns that were generated upon insert to a VARCHAR column used the default to_tsvector(<argument>), however, to make searching more predictable, the function was updated with an inner function argument to split on and strip nonword characters as:
lbeaufort
changed the title
Repopulate .*_text columns for tables, mvs, and vws with new tsvector
Repopulate .*_text columns for tables with new tsvector
Jun 27, 2019
patphongs
changed the title
Repopulate .*_text columns for tables with new tsvector
non-schedule_a and non-schedule_b tables: Repopulate .*_text columns for tables with new tsvector
Jul 16, 2019
patphongs
changed the title
non-schedule_a and non-schedule_b tables: Repopulate .*_text columns for tables with new tsvector
non-schedule_a and non-schedule_b tables: Update .*_text columns for tables with new tsvector
Jul 16, 2019
tsvector columns in fec_fitem_sched_a and fec_fitem_sched_b tables had been updated according to the new definition in issue #3787
tsvector columns in fec_fitem_sched_c, fec_fitem_sched_d, and fec_fitem_sched_f have been updated in all cloud environments (DEV/STG/PRD). @jason-upchurch It is ready for you to check if the desired changes is in place.
Summary
Throughout the db, former
TSVECTOR
columns that were generated upon insert to aVARCHAR
column used the defaultto_tsvector(<argument>)
, however, to make searching more predictable, the function was updated with an inner function argument to split on and strip nonword characters as:The above was added to migration files under PR #3811 to handle future inserts.
The historical db data also needs to be updated/refreshed to use the new
to_tsvector
definition.The tables are:
fec_fitem_sched_b
recipient_name_text
T
fec_fitem_sched_b
disbursement_description_text
T
fec_fitem_sched_f
payee_name_text
T
fec_fitem_sched_a
contributor_name_text
T
fec_fitem_sched_a
contributor_employer_text
T
fec_fitem_sched_a
contributor_occupation_text
T
fec_fitem_sched_c
loan_source_name_text
T
fec_fitem_sched_c
candidate_name_text
T
fec_fitem_sched_d
creditor_debtor_name_text
T
The migration file handling this update is
V0142__update_to_tsvector_function_over_all_columns.sql
The text was updated successfully, but these errors were encountered: