X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/e73e67001e60c4e73ad851b35000a503be42027a..07628dc05daf0345fab3307601f05186ba863456:/data/words.sql?ds=inline

diff --git a/data/words.sql b/data/words.sql
index a9019f8a..b15686d7 100644
--- a/data/words.sql
+++ b/data/words.sql
@@ -49637,7 +49637,7 @@ kein	100
 
 select count(make_keywords(v)) from (select distinct svals(name) as v from place) as w where v is not null;
 select count(make_keywords(v)) from (select distinct postcode as v from place) as w where v is not null;
-select count(getorcreate_housenumber_id(v)) from (select distinct housenumber as v from place where housenumber is not null) as w;
+select count(getorcreate_housenumber_id(make_standard_name(v))) from (select distinct housenumber as v from place where housenumber is not null) as w;
 
 -- copy the word frequencies
 update word set search_name_count = count from word_frequencies wf where wf.word_token = word.word_token;
