xref: /dokuwiki/inc/Search/Collection/PageFulltextCollection.php (revision ede4646658cf51245060332d97a319a39c788ea1)
1<?php
2
3namespace dokuwiki\Search\Collection;
4
5use dokuwiki\Search\Index\AbstractIndex;
6
7/**
8 * Fulltext search collection for wiki pages
9 *
10 * Manages the indexes used for fulltext search of page contents.
11 *
12 * @license GPL 2 (http://www.gnu.org/licenses/gpl.html)
13 * @author Andreas Gohr <andi@splitbrain.org>
14 * @author Tom N Harris <tnharris@whoopdedo.org>
15 */
16class PageFulltextCollection extends FrequencyCollection
17{
18    /** @inheritdoc */
19    public function __construct(?AbstractIndex $pageIndex = null)
20    {
21        parent::__construct($pageIndex ?? 'page', 'w', 'i', 'pageword', true);
22    }
23}
24