Open
Description
Right now, going to https://publiclab.org/search and typing "india" and pressing submit takes a long time.
4 seconds to 51 seconds...
Much of this is searching rusers
-- ~8 seconds:
SELECT DISTINCT `rusers`.* FROM `rusers` INNER JOIN `node` ON `node`.`uid` = `rusers`.`id` INNER JOIN `node_revisions` ON `node_revisions`.`nid` = `node`.`nid` WHERE (MATCH(bio, username) AGAINST(? IN BOOLEAN MODE)) AND (rusers.status = ?) AND (node_revisions.status = ?) ORDER BY node_revisions.timestamp DESC LIMIT ?
Can we optimize this query?