Home
last modified time | relevance | path

Searched refs:addEntity (Results 1 – 8 of 8) sorted by relevance

/dokuwiki/_test/tests/Search/Collection/
H A DDirectCollectionTest.php19 $index->addEntity('wiki:start', ['Welcome to DokuWiki']);
37 $index->addEntity('wiki:start', ['Old Title']);
41 $index->addEntity('wiki:start', ['New Title']);
55 $index->addEntity('wiki:start', []);
69 $index->addEntity('wiki:start', ['My Page Title']);
83 $index->addEntity('wiki:start', ['Title']);
93 $index->addEntity('wiki:start', ['Welcome']);
109 $index->addEntity('wiki:start', ['Title One']);
110 $index->addEntity('wiki:syntax', ['Title Two']);
127 $index->addEntity('wiki:start', ['Title One']);
[all …]
H A DLookupCollectionTest.php19 $index->addEntity('wiki:start', ['wiki:logo.png', 'wiki:banner.jpg', 'wiki:icon.svg']);
50 $index->addEntity('wiki:start', ['wiki:logo.png', 'wiki:logo.png', 'wiki:banner.jpg']);
70 $index->addEntity('wiki:start', ['wiki:logo.png', 'wiki:banner.jpg']);
75 $index->addEntity('wiki:start', ['wiki:banner.jpg', 'wiki:icon.svg']);
96 $index->addEntity('wiki:start', ['wiki:logo.png', 'wiki:banner.jpg']);
111 $index->addEntity('wiki:start', ['wiki:logo.png']);
123 $index->addEntity('wiki:start', ['wiki:logo.png']);
128 $index->addEntity('wiki:start', []);
147 $index->addEntity('wiki:start', ['wiki:logo.png', 'wiki:banner.jpg']);
165 $index->addEntity('wiki:start', ['wiki:syntax', 'wiki:welcome']);
[all …]
H A DCollectionSearchTest.php17 $collection->addEntity('page1', ['dokuwiki', 'dokuwiki', 'dokuwikis', 'doku', 'wiki']);
18 $collection->addEntity('page2', ['dokuwiki', 'other', 'words']);
44 $collection->addEntity('page1', ['dokuwiki', 'dokuwiki', 'dokuwikis', 'doku', 'wiki']);
45 $collection->addEntity('page2', ['dokuwiki', 'other', 'words']);
86 $collection->addEntity('search:test', $tokens);
109 $collection->addEntity('page1', ['alpha', 'beta', 'gamma']);
130 $collection->addEntity('wiki:start', ['wiki:syntax', 'wiki:welcome']);
131 $collection->addEntity('wiki:other', ['wiki:syntax']);
150 $collection->addEntity('wiki:start', ['wiki:syntax', 'wiki:welcome']);
151 $collection->addEntity('wiki:other', ['wiki:syntax', 'other:page']);
[all …]
H A DFrequencyCollectionTest.php20 $index->addEntity('test', $tokens);
40 $index->addEntity('test', $tokens);
56 $index->addEntity('wiki:syntax', ['dokuwiki']);
125 $index->addEntity('page1', ['alpha', 'beta']);
126 $index->addEntity('page2', ['beta', 'gamma']);
172 $index->addEntity('page1', ['dokuwiki', 'wiki']);
173 $index->addEntity('page2', ['other', 'words']);
208 $index->addEntity('page1', ['dokuwiki', 'wiki']);
223 $index->addEntity('page1', ['dokuwiki', 'wiki']);
243 $index->addEntity('page1', ['hi', 'dokuwiki', 'wiki']);
/dokuwiki/inc/Search/
H A DIndexer.php175 ->addEntity($data['page'], [$data['metadata']['title']])->unlock();
181 … (new PageFulltextCollection($pageIndex))->lock()->addEntity($data['page'], $words)->unlock();
185 … (new PageFulltextCollection($pageIndex))->lock()->addEntity($data['page'], [])->unlock();
194 … (new PageMetaCollection($key, $pageIndex))->lock()->addEntity($data['page'], $values)->unlock();
229 (new PageTitleCollection($pageIndex))->lock()->addEntity($page, [])->unlock();
230 (new PageFulltextCollection($pageIndex))->lock()->addEntity($page, [])->unlock();
233 (new PageMetaCollection($key, $pageIndex))->lock()->addEntity($page, [])->unlock();
H A DLegacyIndexer.php170 $collection->lock()->addEntity($page, $values)->unlock();
/dokuwiki/inc/Search/Collection/
H A DDirectCollection.php53 public function addEntity(string $entity, array $tokens): static function in dokuwiki\\Search\\Collection\\DirectCollection
H A DAbstractCollection.php332 public function addEntity(string $entity, array $tokens): static function in dokuwiki\\Search\\Collection\\AbstractCollection