Skip to content

stop querying, saving blacklight Search records - #230

Merged
aploshay merged 1 commit into
masterfrom
stop_blacklight_Search_records
Jul 28, 2026
Merged

stop querying, saving blacklight Search records#230
aploshay merged 1 commit into
masterfrom
stop_blacklight_Search_records

Conversation

@aploshay

@aploshay aploshay commented Jul 9, 2026

Copy link
Copy Markdown

Also requires follow-up to manually clear out existing Search records, perhaps in batches, and directly in mysql, given the scope of them.

@aploshay
aploshay requested a review from cjcolvar July 9, 2026 20:08

@cjcolvar cjcolvar left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

Avalon suggests clean up of the DB table using the following command which is more performant than a delete_all or something like that.

ActiveRecord::Base.connection.truncate(Search.table_name)

@aploshay
aploshay force-pushed the stop_blacklight_Search_records branch from 1c7d041 to 8bb5a41 Compare July 28, 2026 14:18
@aploshay
aploshay merged commit 9b49cd2 into master Jul 28, 2026
1 check failed
@aploshay
aploshay deleted the stop_blacklight_Search_records branch July 28, 2026 14:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants