Allow individual search backends to control whether they SearchUpdate
authorChad Horohoe <chadh@wikimedia.org>
Tue, 13 Aug 2013 22:54:03 +0000 (15:54 -0700)
committerDemon <chadh@wikimedia.org>
Wed, 14 Aug 2013 17:55:04 +0000 (17:55 +0000)
commit2bda9a37fe4a17c9c2c800d8fe052c583e4d7e2d
treedb4dab1658187c3fe49316fcdabdf56eac765d9f
parent5d070be9298522908aa8c822537d6e6c4cd6aad1
Allow individual search backends to control whether they SearchUpdate

$wgDisableSearchUpdate is a sledgehammer for disabling all indexing
which is fine for most people, but sometimes you've got multiple
search backends and you want some to update but not others. This
allows each backend to tell core whether they support the feature.

This also removes the SearchUpdate hook which really doesn't make
sense and nobody uses but CirrusSearch and an abandoned extension
from 7 years ago.

Will require parallel change to MWSearch (Ibd002347) and Cirrus (I87a5b8cc)

Change-Id: I2063fe05000044225fa6bec2171ed0071b84a5cf
docs/hooks.txt
includes/search/SearchEngine.php
includes/search/SearchUpdate.php