Ticket #906 (closed enhancement: fixed)
Ability to search without accents for accented words
Reported by: | Stiivi | Owned by: | thejimmyg |
---|---|---|---|
Priority: | awaiting triage | Milestone: | ckan-sprint-2012-03-05 |
Component: | ckan | Keywords: | |
Cc: | amercader | Repository: | ckan |
Theme: | none |
Description
In Slovakia users are expecting from sites to be able to search without typing accents, for example if they do not have SK keyboard, just US. For example searching for: 'Obyvateľstvo' and 'obyvatelstvo' (population) or 'štatistika' and 'statistika' (statistics) should yield same results.
This should work the other way around as well, as some people might enter entries without accents into CKAN instance and others might search with accents.
For SK language simple ASCII transliteration for searched term and indexed words is sufficient (iconv ASCIITRANSLIT).
Change History
comment:1 Changed 2 years ago by thejimmyg
- Owner set to thejimmyg
- Repository set to ckan
- Theme set to none
- Status changed from new to assigned
- Milestone set to current-ckan-sprint-2011-12-19
comment:3 Changed 2 years ago by dread
- Cc amercader added
This was done in #1701 but only in a custom SOLR schema in the ecportal extension: https://github.com/okfn/ckanext-ecportal/commit/6682926d8895f146cdf1e52ab4fbead9b065af77
Can the ASCIIFoldingFilterFactory be added to core CKAN's SOLR schema for all CKAN users to benefit from?