Indexing and normalisation of Cyrillic characters
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 259
- Forks
- 168
- Avg merge
- 6h 15m
- Merged PRs (30d)
- 1
Description
Describe the bug
When searching for the address ("Олега Оникієнка вулиця 77а") of this OSM place no result are returned. The issue seems to be caused by the fact the the address is indexed with Cyrillic "a". If the query search contains the Cyrillic character "a", the above address is returned.
Steps to Reproduce
Steps to reproduce the behavior:
No results returned when searched with Latin Small Letter A: pelias.github.io
Result returned when searched with Cyrillic Small Letter A: pelias.github.io
Expected behavior
Expected the address to be returned when using Latin character
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the two autocomplete requests linked in the issue, comparing the Latin and Cyrillic character results. Trace the API's indexing and normalization path to find where these characters are handled differently. Done means the address is returned for the Latin-character query and the behavior has regression coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, backend, search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100