Skip to content

fold apostrophe variants to ASCII - #1078

Merged
lonvia merged 1 commit into
komoot:masterfrom
entur:henrik/normalize-apostrophe-2
May 19, 2026
Merged

lonvia merged 1 commit into
komoot:masterfrom
entur:henrik/normalize-apostrophe-2

Conversation

@henrik242

Copy link
Copy Markdown
Contributor

Add a normalize_apostrophes char filter that maps U+2019, U+2018, U+02BC, U+02BB to U+0027 and wire it into the search analyzer, the classification analyzer, search_prefix, index_name_{ngram,prefix,full}, and index_raw, so typographic apostrophes tokenize identically to ASCII.

Add a normalize_apostrophes char filter that maps U+2019, U+2018, U+02BC, U+02BB to U+0027 and wire it into the search analyzer, the classification analyzer, search_prefix, index_name_{ngram,prefix,full}, and index_raw, so typographic apostrophes tokenize identically to ASCII.
@lonvia
lonvia merged commit b8c24b8 into komoot:master May 19, 2026
9 checks passed
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