Open main menu

Meza/Rebuild SMW data and search index

To rebuild both Semantic MediaWiki data (i.e. semantic-mw:Help:Maintenance script "rebuildData.php") and search index, do the following.

sudo meza maint rebuild <environment>

Note that this breaks the indexing into parts to avoid memory leaks, which is a common problem for larger wikis.

Just rebuild SMW dataEdit

sudo meza maint rebuild <environment> --skip-tags search-index

Due to a current bug, you must specify what to skip, not specify which rebuild you want. In other words, you can't do --tags smw-data.

Just rebuild search indexEdit

sudo meza maint rebuild <environment> --skip-tags smw-data

Due to a current bug, you must specify what to skip, not specify which rebuild you want. In other words, you can't do --tags search-index.