You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confidence score is always 1 for all features while subject (Lekarna - pharmacy in Slovenian), street name (Miklošičeva cesta) and city (Ljubljana) are given (and parsed correctly). I want to search for a pharmacy on Miklošičeva street in city Ljubljana. All features are pharmacies, but have incorrect confidence score.
Lets take the following request: http://pelias/v1/search?boundary.country=SVN&lang=sl-si&sources=osm&text=lekarna, miklošičeva cesta, ljubljana. All features have confidence score of 1, resulting in wrong order of best matching feature. The confidence score could definitely be calculated more accurately by using the street name, but for some reason it didn't.
The correct result is node/1894570012, which should have more confidence score than the rest, since street name matches perfectly. Please see response from Pelias below.
Steps to Reproduce
Use OpenStreetMap dataset, could only be Slovenia, not necessarily global
Call http://pelias/v1/search?boundary.country=SVN&lang=sl-si&sources=osm&text=lekarna, miklošičeva cesta, ljubljana
Correct feature (node/1894570012) is somewhere at the bottom - see response below
Expected behavior
Feature node/1894570012 or Lekarna Miklošič should have more confidence score than the rest due to same street name. This feature can be seen in the response below.
Environment (please complete the following information):
Describe the bug
Confidence score is always 1 for all features while subject (
Lekarna
- pharmacy in Slovenian), street name (Miklošičeva cesta
) and city (Ljubljana
) are given (and parsed correctly). I want to search for a pharmacy on Miklošičeva street in city Ljubljana. All features are pharmacies, but have incorrect confidence score.Lets take the following request:
http://pelias/v1/search?boundary.country=SVN&lang=sl-si&sources=osm&text=lekarna, miklošičeva cesta, ljubljana
. All features have confidence score of 1, resulting in wrong order of best matching feature. The confidence score could definitely be calculated more accurately by using the street name, but for some reason it didn't.The correct result is
node/1894570012
, which should have more confidence score than the rest, since street name matches perfectly. Please see response from Pelias below.Steps to Reproduce
http://pelias/v1/search?boundary.country=SVN&lang=sl-si&sources=osm&text=lekarna, miklošičeva cesta, ljubljana
node/1894570012
) is somewhere at the bottom - see response belowExpected behavior
Feature
node/1894570012
orLekarna Miklošič
should have more confidence score than the rest due to same street name. This feature can be seen in the response below.Environment (please complete the following information):
Pastebin/Screenshots
Response from Pelias
Additional context
All default. Running in Docker.
References
I don't think so, I haven't found any related issues.
I'm sorry if my explanation is a bit vague and empty. I'll explain more in-depth if requested.
The text was updated successfully, but these errors were encountered: