forked from hans/Nominatim
fix full term token in special phrases
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user