]> git.openstreetmap.org Git - nominatim.git/blobdiff - website/search.php
restrict depth of word set calculation
[nominatim.git] / website / search.php
index cc8fe02ae3c3c853d98bca2df11f67c130716673..387a79de87b3bc5522c4b0ac516b9d4d97d1529a 100755 (executable)
                                {
                                        $aPhrases[$iPhrase] = $aPhrase;
                                        $aPhrases[$iPhrase]['words'] = explode(' ',$aPhrases[$iPhrase]['string']);
-                                       $aPhrases[$iPhrase]['wordsets'] = getWordSets($aPhrases[$iPhrase]['words']);
+                                       $aPhrases[$iPhrase]['wordsets'] = getWordSets($aPhrases[$iPhrase]['words'], 0);
                                        $aTokens = array_merge($aTokens, getTokensFromSets($aPhrases[$iPhrase]['wordsets']));
                                }
                                else