nextcloud/lib
Robin Appelman 5002bf9cc1
tell mysql to ignore the sort index for search queries
mysql really likes to pick an index for sorting if it can't fully satisfy the where
filter with an index, since search queries pretty much never are fully filtered by index
mysql often picks an index for sorting instead of the *much* more useful index for filtering.

To bypass this, we tell mysql explicitly not to use the mtime (the default order field) index,
so it will instead pick an index that is actually useful.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-10-18 18:05:48 +02:00
..
composer Add database ratelimiting backend 2021-09-13 16:45:54 +02:00
l10n [tx-robot] updated from transifex 2021-10-07 02:25:52 +00:00
private tell mysql to ignore the sort index for search queries 2021-10-18 18:05:48 +02:00
public Merge pull request #29203 from nextcloud/backport/26688/stable21 2021-10-14 15:08:10 +02:00
autoloader.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00
base.php Merge pull request #25238 from nextcloud/enh/noid/apps-defacto-in-root 2021-01-21 09:08:54 +01:00
versioncheck.php Update all license headers for Nextcloud 21 2020-12-16 18:48:22 +01:00