Home
last modified time | relevance | path

Searched refs:rid (Results 1 – 4 of 4) sorted by relevance

/dokuwiki/inc/Search/Index/
H A DMemoryIndex.php69 public function changeRow(int $rid, string $value): void argument
73 if ($rid > count($this->data)) {
74 $this->data = array_pad($this->data, $rid, '');
76 $this->data[$rid] = $value;
81 public function retrieveRow(int $rid): string argument
83 return $this->data[$rid] ?? '';
90 foreach ($rids as $rid) {
91 if (isset($this->data[$rid])) $result[$rid] = $this->data[$rid];
H A DAbstractIndex.php139 * @param int $rid the line number, count starting at 0
142 abstract public function changeRow(int $rid, string $value); argument
149 * @param int $rid the line number
152 abstract public function retrieveRow(int $rid): string; argument
H A DFileIndex.php27 public function changeRow(int $rid, string $value): void argument
48 fwrite($fh, (++$ln == $rid) ? $value : $curline);
53 if ($rid > $ln) {
54 while ($rid > ++$ln) {
68 public function retrieveRow(int $rid): string argument
79 if (++$ln == $rid) {
/dokuwiki/inc/Search/
H A Dconcept.txt48 …t information of the index. The lines are counted from zero and referred to as ''rid'' in the code.
72 …forward, it's a simple ''rid -> value'' store. The latter maps to ''rid -> [key -> value, ...]'' w…
97 Tuple-based index rows store associations between keys (typically ''rid''s from another index) and …
104 * ''key'' - Usually the ''rid'' from another index (e.g., a page ID)