[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/maintenance/ -> rebuildtextindex.php (summary)

Rebuild search index table from scratch.  This may take several hours, depending on the database size and server configuration. Postgres is trigger-based and should never need rebuilding.

File Size: 162 lines (5 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 1 file
 maintenance/Maintenance.php

Defines 1 class

RebuildTextIndex:: (7 methods):
  __construct()
  getDbType()
  execute()
  populateSearchIndex()
  dropMysqlTextIndex()
  createMysqlTextIndex()
  clearSearchIndex()


Class: RebuildTextIndex  - X-Ref

Maintenance script that rebuilds search index table from scratch.

__construct()   X-Ref


getDbType()   X-Ref
No description

execute()   X-Ref
No description

populateSearchIndex()   X-Ref
Populates the search index with content from all pages


dropMysqlTextIndex()   X-Ref
(MySQL only) Drops fulltext index before populating the table.


createMysqlTextIndex()   X-Ref
(MySQL only) Adds back fulltext index after populating the table.


clearSearchIndex()   X-Ref
Deletes everything from search index.




Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1