X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/b4fec57b6d53f8e8a45c46ff11f13cbcbea1006a..5f4e98e0d9b5e89c81bc09a53cfdba1bdb45351b:/lib-php/admin/warm.php diff --git a/lib-php/admin/warm.php b/lib-php/admin/warm.php index 39a37506..5cbae898 100644 --- a/lib-php/admin/warm.php +++ b/lib-php/admin/warm.php @@ -1,4 +1,12 @@ mostFrequentWords(1000); + $sSQL = 'SELECT word FROM word WHERE word is not null ORDER BY search_name_count DESC LIMIT 1000'; - foreach ($oDB->getCol($sSQL) as $sWord) { + foreach ($aWords as $sWord) { if ($bVerbose) { echo "$sWord = "; }