-
-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Confidence seems to be calculated incorectly #1488
Comments
Hmm.. this is working correctly for cc/ @orangejulius should we consider increasing the thanks for the test case @hannojg |
This is the relevant config variable, you can change it and restart the server: https://github.com/pelias/api/blob/master/query/search_defaults.js#L34 If you're running inside Docker it's a little trickier, you'll need to copy the file to your local machine, make the change and then bind mount it over the copy inside the container. An example of such a 'bind mount' can be found here: https://github.com/pelias/docker/blob/master/projects/portland-metro/docker-compose.yml#L17 The location of that file inside the container is |
Hi folks! Over in that issue I discussed the idea of doing some very basic work to detect near-duplicate alt-names like this, as a bit of a stopgap until we can implement the real fix of improving our alt-name system. |
Describe the bug
We are searching for a venue with a focus point. The focus point is the city. The venue is a restaurant chain, so it has branches in many cities. We expect, that the restaurant at the focus point is the first result with the confidence of one. However, the first result is of a venue in a completely different city with confidence being 1.
Steps to Reproduce
Losteria, Mannheim
(very far away from the focused city "Lübeck") with a confidence of 1.Expected behaviour
"Losteria, Lübeck" is the first entry with a confidence of 1 as the focal point is more close to this place than the other.
Environment (please complete the following information):
Pastebin/Screenshots
The text was updated successfully, but these errors were encountered: