Skip to content

Improve results for Russian in autocomplete for Lida (Лида) in Belarus #663

@rmglennon

Description

@rmglennon

Here's what I did 😇

This came in through support (see Desk 1110)

"if I want to find a street in Lida (city in Belarus) in Russian, i
use this query

https://mapzen.com/search/explorer/?query=autocomplete&text=8%20%D0%BC%D0%B0%D1%80%D1%82%D0%B0%2C%20%D0%9B%D0%B8%D0%B4%D0%B0.

8 марта, Лида


Here's what I got 🙀

"As you can see, there is no Lida city in response. "

8 марта, Kazakhstan
8 Марта, Kazakhstan
8 Марта, Moscow, Russia
8. марта, Majdanpek, Serbia
8 Марта, Russia
8 марта, Russia
8 марта, Kyrgyzstan
8 Марта, Uzbekistan
8 8 Марта, Kazakhstan
8 Марта, Belarus


Here's what I was expecting ✨

"But if I type Lida in English, I get information that I want."

8 марта, lida

https://mapzen.com/search/explorer/?query=autocomplete&text=8%20%D0%BC%D0%B0%D1%80%D1%82%D0%B0%2C%20Lida

"properties": {
"id": "node:4999306825",
"gid": "openstreetmap:venue:node:4999306825",
"layer": "venue",
"source": "openstreetmap",
"source_id": "node:4999306825",
"name": "8 марта",
"accuracy": "point",
"country": "Belarus",
"country_gid": "whosonfirst:country:85632395",
"country_a": "BLR",
"region": "Haradzyenskaya Voblasts'",
"region_gid": "whosonfirst:region:85669305",
"county": "Lida",
"county_gid": "whosonfirst:county:1092003631",
"label": "8 марта, Belarus"
}


Here's what I think could be improved 🏆

The same query with /search gives only the expected result.

https://mapzen.com/search/explorer/?query=search&text=8%20%D0%BC%D0%B0%D1%80%D1%82%D0%B0%2C%20%D0%9B%D0%B8%D0%B4%D0%B0

Lida, Belarus

"properties": {
"id": "890443333",
"gid": "whosonfirst:locality:890443333",
"layer": "locality",
"source": "whosonfirst",
"source_id": "890443333",
"name": "Lida",
"confidence": 0.6,
"match_type": "fallback",
"accuracy": "centroid",
"country": "Belarus",

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions