Skip to content

Fix #1497 - Delete FTS records before adding new ones for a single track#1506

Open
michaelherger wants to merge 1 commit intopublic/9.1from
1497-fix-fts-single-track-update
Open

Fix #1497 - Delete FTS records before adding new ones for a single track#1506
michaelherger wants to merge 1 commit intopublic/9.1from
1497-fix-fts-single-track-update

Conversation

@michaelherger
Copy link
Member

We can't rely on INSERT OR REPLACE, as the id column in the full text index isn't unique. Create a DELETE request instead. That's not very efficient, but should do the job?

@darrell-k this PR does not include the works part yet.

We can't rely on `INSERT OR REPLACE`, as the `id` column in the full text index isn't unique. Create a `DELETE` request instead. That's not very efficient, but should do the job?

Signed-off-by: Michael Herger <[email protected]>
@darrell-k
Copy link
Contributor

I'm testing this and have come across another problem: we're only processing the primary_artist from tracks, so additions/deletions of other contributors to the track are not being reflected in fulltext.

I'm working on the SQL solution to this.

@darrell-k darrell-k mentioned this pull request Feb 3, 2026
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