Do not run exact db match if offset is > 0
authordcausse <dcausse@wikimedia.org>
Tue, 27 Sep 2016 13:17:24 +0000 (15:17 +0200)
committerdcausse <dcausse@wikimedia.org>
Tue, 27 Sep 2016 13:28:14 +0000 (15:28 +0200)
commitbd7df68603441b21efadd89c68489d5aea6648df
tree309d724b1ade35d2adbf97996cf66e08b52cd322
parentf842bf27396f96142ee36fb1f09501479f3e0323
Do not run exact db match if offset is > 0

When scrolling results on prefix search api the exact Title
match is always at pos 0 even if we want to scroll the results
by setting offset to > 0.

Change-Id: Ib02c9d3e479d739e6fe79014d962db50b6fd9de8
includes/PrefixSearch.php
includes/search/SearchEngine.php