Skip to content

Conversation

@jorgemanrubia
Copy link
Member

Reverts #2299

@jorgemanrubia
Copy link
Member Author

jorgemanrubia commented Jan 8, 2026

@Maklu I had to revert the PR since a test was failing and signaling a legit bug: with SQLite we show the stemmed content in the list of search results, because we use the FTS highlight function. The test was catching that but I didn't notice the suite wasn't running in your PR. You can reproduce locally by just running the suite, and also by seeing how results show the stemmed words. Would you mind opening a new PR making sure that works as expected, please?

@jorgemanrubia jorgemanrubia merged commit b4775d3 into main Jan 8, 2026
12 checks passed
@jorgemanrubia jorgemanrubia deleted the revert-2299-fix-cjk-search branch January 8, 2026 20:09
@Maklu
Copy link
Contributor

Maklu commented Jan 10, 2026

Got it - the issue was FTS5's highlight()/snippet() returning stemmed content from the FTS table.

Fixed in #2337: store original content in main table, stemmed content only in FTS table, use Search::Highlighter instead of FTS5 functions.

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.

3 participants