X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/d0880694eb3ad17cddfe7d7f8fbe73b5a7ce8eef..3cdfe066336ad19772d300a85d6c1feaadc074ea:/lib/TokenWord.php diff --git a/lib/TokenWord.php b/lib/TokenWord.php index 54622cbc..fc28535d 100644 --- a/lib/TokenWord.php +++ b/lib/TokenWord.php @@ -13,12 +13,15 @@ class Word public $bPartial; /// Number of appearances in the database. public $iSearchNameCount; + /// Number of terms in the word. + public $iTermCount; - public function __construct($iId, $bPartial, $iSearchNameCount) + public function __construct($iId, $bPartial, $iSearchNameCount, $iTermCount) { $this->iId = $iId; $this->bPartial = $bPartial; $this->iSearchNameCount = $iSearchNameCount; + $this->iTermCount = $iTermCount; } public function debugInfo()