]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/Geocode.php
boilerplate for PHP code of tokenizer
[nominatim.git] / lib-php / Geocode.php
index ec6876faa51bbd4b64402e1abaf3450993cdc81b..d9c1b3c08a11823656e54053c734fe72093ba7b9 100644 (file)
@@ -8,6 +8,7 @@ require_once(CONST_LibDir.'/ReverseGeocode.php');
 require_once(CONST_LibDir.'/SearchDescription.php');
 require_once(CONST_LibDir.'/SearchContext.php');
 require_once(CONST_LibDir.'/TokenList.php');
+require_once(CONST_TokenizerDir.'/tokenizer.php');
 
 class Geocode
 {
@@ -829,7 +830,6 @@ class Geocode
                     foreach ($aResults as $oResult) {
                         if (($this->iMaxAddressRank == 30 &&
                              ($oResult->iTable == Result::TABLE_OSMLINE
-                              || $oResult->iTable == Result::TABLE_AUX
                               || $oResult->iTable == Result::TABLE_TIGER))
                             || in_array($oResult->iId, $aFilteredIDs)
                         ) {