Hello,<div>I have a service setup using the OSM Nominatim service and I have a query on number of results returned with the "limit=" parameter. I have it set as 1 to only get the top result BUT when I search for "San Francisco" or "Boston" (where countrycodes=us) I surprisingly got no results? I change this to limit=2 and limit=3 and see that I get 1 and 2 results respectively - which seems offset to me...</div>
<div><br></div><div><a href="http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=1&json_callback=geocodeResult&countrycodes=us">http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=1&json_callback=geocodeResult&countrycodes=us</a></div>
<div><a href="http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=2&json_callback=geocodeResult&countrycodes=us">http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=2&json_callback=geocodeResult&countrycodes=us</a></div>
<div><a href="http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=3&json_callback=geocodeResult&countrycodes=us">http://nominatim.openstreetmap.org/search?q=San+Francisco&format=json&limit=3&json_callback=geocodeResult&countrycodes=us</a></div>
<div><br></div><div>...on the other hand, searching for "Chicago" for limit=1 then 2 then 3, I get the expected number of results...</div><div><br></div><div><a href="http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=2&json_callback=geocodeResult&countrycodes=us">http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=1&json_callback=geocodeResult&countrycodes=us</a></div>
<div><a href="http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=2&json_callback=geocodeResult&countrycodes=us">http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=2&json_callback=geocodeResult&countrycodes=us</a></div>
<div><a href="http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=2&json_callback=geocodeResult&countrycodes=us">http://nominatim.openstreetmap.org/search?q=Chicago&format=json&limit=3&json_callback=geocodeResult&countrycodes=us</a></div>
<div><br></div><div>Is there a bug here or something I am not understanding?</div><div><br></div><div>Any advice much appreciated.</div><div><br></div><div>Jason</div>