X-Git-Url: https://git.openstreetmap.org/nominatim.git/blobdiff_plain/2e81084f353460dbadb6b3ab49fc24e2e1833262..32ca631b7490661be1050ab78c3be5b5039d0a52:/nominatim/tokenizer/legacy_icu_tokenizer.py diff --git a/nominatim/tokenizer/legacy_icu_tokenizer.py b/nominatim/tokenizer/legacy_icu_tokenizer.py index 96014889..6148e459 100644 --- a/nominatim/tokenizer/legacy_icu_tokenizer.py +++ b/nominatim/tokenizer/legacy_icu_tokenizer.py @@ -335,7 +335,7 @@ class LegacyICUNameAnalyzer: for word, cls, typ, oper in to_add: term = self.name_processor.get_search_normalized(word) if term: - copystr.add(word, term, cls, typ, + copystr.add(word, ' ' + term, cls, typ, oper if oper in ('in', 'near') else None, 0) added += 1