Home
last modified time | relevance | path

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

/dokuwiki/inc/Search/Collection/
H A DDirectCollection.php27 $tokenIndex = $this->getTokenIndex();
29 if ($entityIndex->exists() && $tokenIndex->exists()) {
31 $tc = count($tokenIndex);
63 $tokenIndex = $this->getTokenIndex(); variable in dokuwiki\\Search\\Collection\\DirectCollection
64 $tokenIndex->changeRow($entityId, $token);
65 $tokenIndex->save();
84 $tokenIndex = $this->getTokenIndex();
85 return $tokenIndex->retrieveRow($entityId);
103 $tokenIndex = $this->getTokenIndex();
106 foreach ($tokenIndex as $entityId => $token) {
H A DCollectionSearch.php107 $tokenIndex = $this->collection->getTokenIndex($group);
108 if (!$tokenIndex->exists()) continue;
112 foreach ($tokenIndex as $tokenId => $tokenValue) {
H A DAbstractCollection.php279 $tokenIndex = $this->getTokenIndex($group);
282 if (!$tokenIndex->exists() && !$freqIndex->exists()) continue;
284 if ($tokenIndex->exists() !== $freqIndex->exists()) {
287 ($tokenIndex->exists() ? 'frequency' : 'token') . ' index'
291 $tc = count($tokenIndex);
377 $tokenIndex = $this->getTokenIndex($group);
380 $tokenId = $tokenIndex->getRowID((string)$token);
383 $tokenIndex->save();
/dokuwiki/inc/Search/
H A DIndexer.php431 $tokenIndex = $collection->getTokenIndex();
434 $matches = $tokenIndex->search('/^' . preg_quote($oldvalue, '/') . '$/');
442 $newMatches = $tokenIndex->search('/^' . preg_quote($newvalue, '/') . '$/');
473 $tokenIndex->changeRow($oldid, $newvalue);