Move elasticsearch work onto its own branch.

Change-Id: I201996e0e0184af4e9757523a4da6f2d64915f49
Correct errors causing some updates to be ignored.

Change-Id: I0e63e84c5d62f1ed61283343605300c3aa69fe38
Properly support stemming in incategory: et al.

Change-Id: I40b8f6205ef51e283aa3f661f85aa89eff8477be
Escape user supplied queries sent to lucene.

Users have a habbit causing parse errors when they send lucene queries.

Change-Id: Ia80129ae74bbfffe0df9341710a70e01abeb6596
Switch to bool filters.

Bool filters are supposed to allow much much much better caching.

Change-Id: Iaf9e1797c88ec7d1b8f9da078ccabc6765be126a
Implement suggestions.

Also better error handling on update config script.

Change-Id: I963053495415bc8f2f50be12e9730ccf575fff77
Rename scripts to be generic.

Change-Id: I2402ff069e0e1308352c150d2ac07f3c0d4e6fac
Documentation update for elasticsearch.

Change-Id: I31f5227bc377232b0d4e182ef94a5e92580b1ae9
Port deletes to elasticsearch.

Included both in process and bulk deletes.

Change-Id: If0e24f4ff29853773fb6c24968630c9b6e3a5b6d
Fix class name on forceSearchIndex script.

Would spit out confusing stack traces.

Change-Id: Ifb8ff48c3dcdc94730af6b1a13988d0c6e1da3d6
Search redirects.

Change-Id: I9d8d017b776ef8c006d070130784983d507acda4
Pick up redirect changes while reindexing.

Note that we don't pick up redirect changes while bootstrapping.

Change-Id: Ia36193b82e63fa8e57ff2b2fd0e82d9c93de92bb
Stop removing restored pages from the index.

This would only happen if the forceSearchIndex.php saw a restore log.
Now it ignores them.

Change-Id: I036d5039b49f2fe13d5c59f45f6380b83ba365c1
Support "List redirects" checkbox.

Don't search for redirects if it isn't checked and don't highlight them
either.

Change-Id: I1c80e038a0e4b6421fa9d8c27e98201eb63399a2
Use correct exception and handle updateTitle.

updateTitle is handled by updating the whole document because it doesn't
look like updateTitle is really used and implementing a proper update
with elasticsearch is possible but too complicated to do without testing
and I can't test without being able to cause an updateTitle.

Change-Id: I8560191cf1a4f694d785fb8c7f42b9aa0ef79b30
Catch correct exception in updateSearchConfig.

Without this sometimes we'd throw out big nasty non-mediawiki exception
messages.

Change-Id: Ib9ab06706fff1c7524f002e065157da7adc36669
Add namespace to search result if not 0.

Change-Id: I916bb2fe46f6ffbb3aaad70d1c72f11244183a4b
Get highlighting back for mediawiki query syntax.

Also remove some TODOs that we either won't do or might not do and so
belong on the project wiki page.

Change-Id: I3dd8d32efd1440cf3b3909442ec721e5eacb73b5
Allow quoted phrases in queries.

If the user screws up the quoting then do our best to fix it for them.

Change-Id: Ie863a0aebe4882e673dc7b46f8f9bbd8728f6609
Reindexing doesn't infinitely loop any more!

But I had to update to Elastica's master branch to do it....

Change-Id: Id020f36f3670347a12b5e75b69040fccb69786b8