mirror of
https://github.com/osm-search/Nominatim.git
synced 2024-11-23 13:44:36 +03:00
fix full term token in special phrases
This commit is contained in:
parent
2e81084f35
commit
32ca631b74
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user