geocoders / geocoder-tester

Run search queries against a geocoder that supports geocodejson spec.
Other
40 stars 23 forks source link

Compare second hit #33

Closed karussell closed 6 years ago

karussell commented 6 years ago

Is it possible to compare not only the first but also the second hit? For certain requests like search "Berlin" with a certain location bias, the first result should be the city and the second should be the street "Berliner Str" of another city, which is the result of the location bias. Is this currently possible?

yohanboniface commented 6 years ago

Yes, you can define how much results will be considered with the limit parameter. This needs to be set test case by test case, see for example https://github.com/geocoders/geocoder-tester/blob/master/geocoder_tester/world/france/iledefrance/test_fuzzy.csv

karussell commented 6 years ago

Ah, and always the last hit will be picked?

karussell commented 6 years ago

Cool, works for me!