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