]> git.openstreetmap.org Git - nominatim.git/commit
limit number of considered places in POI queries
authorSarah Hoffmann <lonvia@denofr.de>
Mon, 5 Jun 2017 19:33:50 +0000 (21:33 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Mon, 5 Jun 2017 20:40:42 +0000 (22:40 +0200)
commitc13094acfdfb6f39e265a04ef6aa636ba64a78ea
tree0ee3c818cf664db2805314fb0edc245aac4426ea
parent13674c3939a1fc03aaef349061dd2a2203afbf27
limit number of considered places in POI queries

When searching for POIs in place_classtype_ tables limit the number
of objects considered to 300. The distinct and order by clauses
forced until now to retrive all matching objects and order them
first which can cause long running queries when retriving them
for large areas like the US.

Fixes #735.
lib/Geocode.php
test/bdd/api/search/queries.feature