X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/1d8e2961f0527a548989c1e38bb062f2f9e5877e..5781e198a72922dcc1c7eeca900285d5aa38c5e4:/lib/TokenWord.php?ds=inline 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()