]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/Geocode.php
remove penalty for full words in address
[nominatim.git] / lib-php / Geocode.php
index 53ee49c043f53d80434887978434998987f9c830..a3883b2509fdc3477881f1f06b87ff9dfb9509bd 100644 (file)
@@ -348,8 +348,6 @@ class Geocode
                         foreach ($oValidTokens->get(' '.$sToken) as $oSearchTerm) {
                             $aNewSearches = $oCurrentSearch->extendWithFullTerm(
                                 $oSearchTerm,
-                                $oValidTokens->contains($sToken)
-                                  && strpos($sToken, ' ') === false,
                                 $sPhraseType,
                                 $iToken == 0 && $iPhrase == 0,
                                 $iPhrase == 0,