Skip to content

TIKA-4744 - drop chunking in lang detect - #2847

Merged
tballison merged 1 commit into
mainfrom
TIKA-4744-langdetect-charsoup-no-chunking
May 28, 2026
Merged

TIKA-4744 - drop chunking in lang detect#2847
tballison merged 1 commit into
mainfrom
TIKA-4744-langdetect-charsoup-no-chunking

Conversation

@tballison

Copy link
Copy Markdown
Contributor

We were chunking and then selecting the best chunk. This is less than ideal if the chunks are of different sizes. This drops chunking entirely. If we somehow have to be more performant, we can replicate our probing algorithm from 3.x. For now, just process everything the user sends in. We cap it, by default.

@tballison
tballison merged commit cc3cae8 into main May 28, 2026
5 checks passed
@tballison
tballison deleted the TIKA-4744-langdetect-charsoup-no-chunking branch September 3, 2026 21:55
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