komoot / photon

an open source geocoder for openstreetmap data
Apache License 2.0
1.83k stars 278 forks source link

Make maximum results configurable #790

Closed karussell closed 2 months ago

karussell commented 2 months ago

Currently the maximum results for forward and reverse search is both at 50. It might be interesting to reduce this value for forward search (to reduce maximum load) and/or increase this value for reverse search (for broader POI searches).

lonvia commented 2 months ago

Do we need to introduce a config file before the number of commandline parameters becomes unmaintainable?

karussell commented 2 months ago

Having good defaults ensures that only a few parameters needs to be used. IMO no need for a config file - at least not yet (?)