mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
Added --no-replace command for special phrases importation and added corresponding tests
This commit is contained in:
@@ -54,7 +54,7 @@ class DummyNameAnalyzer:
|
||||
def add_postcodes_from_db(self):
|
||||
pass
|
||||
|
||||
def update_special_phrases(self, phrases):
|
||||
def update_special_phrases(self, phrases, should_replace):
|
||||
self.analyser_cache['special_phrases'] = phrases
|
||||
|
||||
def add_country_names(self, code, names):
|
||||
|
||||
Reference in New Issue
Block a user