Lines Matching defs:Indexer
13 use dokuwiki\Search\Indexer;
77 * @return Indexer an Indexer
83 static $Indexer;
84 if (!isset($Indexer)) {
85 $Indexer = new Indexer();
87 return $Indexer;
130 if ($verbose) echo "Indexer: $page does not exist, ignoring" . DOKU_LF;
133 $Indexer = idx_get_indexer();
134 $result = $Indexer->deletePage($page);
136 if ($verbose) echo "Indexer: locked" . DOKU_LF;
148 if ($verbose) echo "Indexer: index for $page up to date" . DOKU_LF;
158 $Indexer = idx_get_indexer();
159 $result = $Indexer->deletePage($page);
161 if ($verbose) echo "Indexer: locked" . DOKU_LF;
166 if ($verbose) echo "Indexer: index disabled for $page" . DOKU_LF;
170 $Indexer = idx_get_indexer();
171 $pid = $Indexer->getPID($page);
173 if ($verbose) echo "Indexer: getting the PID failed for $page" . DOKU_LF;
194 $result = $Indexer->addPageWords($page, $body);
196 if ($verbose) echo "Indexer: locked" . DOKU_LF;
201 $result = $Indexer->addMetaKeys($page, $metadata);
203 if ($verbose) echo "Indexer: locked" . DOKU_LF;
211 echo "Indexer: finished" . DOKU_LF;
231 $Indexer = idx_get_indexer();
232 return $Indexer->lookup($words);
245 $Indexer = idx_get_indexer();
246 return $Indexer->tokenizer($string, $wc);