Lines Matching defs:count
59 $idx = ($wid < count($index)) ? $index[$wid] : '';
116 $tokens = array_count_values($tokens); // count the frequency of each token
137 $wid = count($word_idx);
211 $val_idx = array_combine($val_idx, array_fill(0, count($val_idx), -1));
222 $id = count($metawords);
340 [$id, $count] = explode('*', $part);
341 $newindexline = $this->updateTuple($newindexline, $id, $count);
582 if (count($this->pidCache) > 10) array_shift($this->pidCache);
626 if ($ixid < count($index))
635 // handle the case when ($ixid < count($index)) has been false
859 array_splice($page_idx, count($title_idx));
878 * @param int $minlen minimum length of words to count
1116 $id = count($index);
1181 * @param int $count
1184 protected function updateTuple($line, $id, $count)
1190 if ($count) {
1192 return "$id*$count:" . $line;
1194 return "$id*$count";