Skip to content

1337 load documents by encoding variant - #330

Merged
lkacenja merged 2 commits into
devfrom
1337-load-documents-by-encoding-variant
Oct 2, 2025
Merged

1337 load documents by encoding variant#330
lkacenja merged 2 commits into
devfrom
1337-load-documents-by-encoding-variant

Conversation

@lkacenja

@lkacenja lkacenja commented Oct 2, 2025

Copy link
Copy Markdown
Contributor

We changed our url encoding for database storage several times in the past. Some phase of that work created varied partial and full encodings in the database. Our import process matches previous records based on URL. Since we have some dirty data in the column, we should make the match more fuzzy, encoding-wise.

This PR searches for existing documents via a url encoding variant approach. It creates a bunch of encoding variants and then finds documents with an IN operator. It also adds test coverage for a few duplication scenarios.

@lkacenja lkacenja self-assigned this Oct 2, 2025
@lkacenja
lkacenja marked this pull request as ready for review October 2, 2025 16:05
@lkacenja
lkacenja merged commit 28440e1 into dev Oct 2, 2025
4 checks passed
lkacenja added a commit that referenced this pull request Oct 2, 2025
* Try a variant url loading strategy.

* Update variant encoding approach and add some tests.
@lkacenja
lkacenja deleted the 1337-load-documents-by-encoding-variant branch April 7, 2026 16:16
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.

1 participant