Nominatim/sql
Sarah Hoffmann 22800d7d59 Search housenumbers with unknown address parts by housenumber term
House numbers need special handling because they may appear after
the street term. That means we canot just use them as the main name
for searches where the address has its own search term entries.
Doing this right now, we are able to find '40, Main St, Town' but not
'Main St 40, Town'.

This switches to using the housenumber token as the name term instead.
House number tokens can get special handling when building the search
query that covers the case where they come after the street.

The main disadvantage is that this once more increases the numbers
of possible search interpretation of which we have already too many.

no penalty for housenumber searches
2020-11-25 11:36:10 +01:00
..
functions Search housenumbers with unknown address parts by housenumber term 2020-11-25 11:36:10 +01:00
aux_tables.sql make tables for external data (Tiger and aux) configurable 2016-04-07 21:47:51 +02:00
hstore_compatability_9_0.sql hstore in 9.2 replaces k=>v with hstore(k,v). Update sql to reflect change and introduce compatability function for pre 9.1 postgresql 2012-11-01 01:46:19 +00:00
indices_search.src.sql revert building indexes concurrently 2020-05-30 11:00:05 +02:00
indices_updates.src.sql switch indexind to address rank 2020-08-18 16:58:58 +02:00
indices.src.sql remove unused idx_placex_geometry_reverse_lookupPoint 2020-09-30 09:21:35 +02:00
partition-functions.src.sql use bool_or(ST_Intersects) instead of ST_Intersects(ST_Collect) 2020-11-16 15:28:01 +01:00
partition-tables.src.sql remove unused columns in search_name_* and use right index 2020-11-16 15:28:01 +01:00
table-triggers.sql forgot new trigger sql 2020-01-23 22:28:43 +01:00
tables.sql update to latest osm2pgsql version 2020-10-05 17:11:13 +02:00
tiger_import_finish.sql change tiger housenumber format to save as lines instead of points and thus new interpolation 2016-03-21 14:07:12 +01:00
tiger_import_start.sql simplify getNearestParallelRoadFeature function 2020-02-26 11:01:04 +01:00
update-postcodes.sql exclude postcode ranges separated by colon from centre point calculation 2019-05-25 20:43:38 +02:00
words_from_search_name.sql add function to recalculate counts for full-word search term 2017-12-17 16:00:28 +01:00
words.sql precomputed postcodes must use dedicated import function 2017-10-28 18:24:01 +02:00