]> git.openstreetmap.org Git - nominatim.git/commitdiff
reduce max term splits
authorSarah Hoffmann <lonvia@denofr.de>
Fri, 24 May 2013 21:49:01 +0000 (23:49 +0200)
committerSarah Hoffmann <lonvia@denofr.de>
Fri, 24 May 2013 21:49:01 +0000 (23:49 +0200)
lib/lib.php

index 1517b317102502d75b175ee39949c96af8ce9434..cac95d845df136f7e844c80b6dc6c64263c1472e 100644 (file)
        {
                $aResult = array(array(join(' ',$aWords)));
                $sFirstToken = '';
-               if ($iDepth < 8) {
+               if ($iDepth < 7) {
                        while(sizeof($aWords) > 1)
                        {
                                $sWord = array_shift($aWords);