mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-14 18:37:58 +00:00
remove country restriction from tokenizer
Restricting tokens due to the search context is better done in the generic search part instead of repeating the same test in every tokenizer implementation.
This commit is contained in:
@@ -498,7 +498,6 @@ class Geocode
|
||||
if ($this->aCountryCodes) {
|
||||
$oCtx->setCountryList($this->aCountryCodes);
|
||||
}
|
||||
$this->oTokenizer->setCountryRestriction($this->aCountryCodes);
|
||||
|
||||
Debug::newSection('Query Preprocessing');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user