Skip to content

Preserve numeric title token order during matching - #291

Open
Arthur031221 wants to merge 1 commit into
Chaptarr:developfrom
Arthur031221:fix/containment-numeric-token-order
Open

Arthur031221 wants to merge 1 commit into
Chaptarr:developfrom
Arthur031221:fix/containment-numeric-token-order

Conversation

@Arthur031221

Copy link
Copy Markdown

Description

Titles with numbers and subtitles can match the wrong volume because token extraction puts words before numbers and scrambles the title. This preserves token order and keeps numeric metadata handling for catalog titles without numbers. Builds on the reproduction @SaxxyToo posted in #262.

Fixes #262

Database Migration

NO

How was this tested?

Added regressions for numbered-title imports and numeric metadata. Ran on Linux with dotnet test src/Chaptarr.Core.Test/Chaptarr.Core.Test.csproj -c Release --no-restore --verbosity minimal.

Screenshots (UI changes only)

N/A


Co-authored-by: SaxxyToo 198826566+SaxxyToo@users.noreply.github.com

Preserve existing containment behavior for catalog titles without numbers
in both exact and near-exact matching. Keep original tag values as evidence.

Co-authored-by: SaxxyToo <198826566+SaxxyToo@users.noreply.github.com>
Signed-off-by: Arthur031221 <levi74108520963@gmail.com>
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.

[BUG] Import matches a sibling book when the file title carries a subtitle the edition title lacks

1 participant