X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/a888f6ff93a7ba81245888ed03f5bf8470788e33..9610664fc566a912915f4a4f5abcf8981c2f9f4b:/lib/Geocode.php diff --git a/lib/Geocode.php b/lib/Geocode.php index 69b6f41c..ed02848e 100644 --- a/lib/Geocode.php +++ b/lib/Geocode.php @@ -650,6 +650,8 @@ class Geocode $this->oNormalizer ); + $oCtx->setFullNameWords($oValidTokens->getFullWordIDs()); + // Try more interpretations for Tokens that could not be matched. foreach ($aTokens as $sToken) { if ($sToken[0] == ' ' && !$oValidTokens->contains($sToken)) {