3 namespace Nominatim\Token;
6 * A standard word token.
10 /// Database word id, if applicable.
12 /// Number of appearances in the database.
13 public $iSearchNameCount;
14 /// Number of terms in the word.
17 public function __construct($iId, $iSearchNameCount, $iTermCount)
20 $this->iSearchNameCount = $iSearchNameCount;
21 $this->iTermCount = $iTermCount;
24 public function debugInfo()
30 'count' => $this->iSearchNameCount,
31 'terms' => $this->iTermCount