mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-03-11 21:34:06 +00:00
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:
|
for word, cls, typ, oper in to_add:
|
||||||
term = self.name_processor.get_search_normalized(word)
|
term = self.name_processor.get_search_normalized(word)
|
||||||
if term:
|
if term:
|
||||||
copystr.add(word, term, cls, typ,
|
copystr.add(word, ' ' + term, cls, typ,
|
||||||
oper if oper in ('in', 'near') else None, 0)
|
oper if oper in ('in', 'near') else None, 0)
|
||||||
added += 1
|
added += 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user