Begin abstracting more of the database-specific search backend out
authorChad Horohoe <chadh@wikimedia.org>
Sat, 18 Jan 2014 00:43:40 +0000 (16:43 -0800)
committerChad Horohoe <chadh@wikimedia.org>
Wed, 22 Jan 2014 01:53:16 +0000 (17:53 -0800)
commit110eb02f3abf910aee0a4ffd5ca9bcc79404176b
treef635bf368f0c39f9c89e271e17330da7f3aceb33
parentb2c14382e35f207c97812bfb2ac1b315a3b561bf
Begin abstracting more of the database-specific search backend out

There's a lot in the base search implementations that is specific
to the database backed search. This starts moving some of that out
into a shared base class for those.

For starters, let's not grab a connection to the slave DB for
every single search for backends unless they need it.

Change-Id: Ib66696841eea901e04b21dd309784af889a45ab1
includes/AutoLoader.php
includes/search/SearchDatabase.php [new file with mode: 0644]
includes/search/SearchEngine.php
includes/search/SearchMssql.php
includes/search/SearchMySQL.php
includes/search/SearchOracle.php
includes/search/SearchPostgres.php
includes/search/SearchSqlite.php