Last modified: 2014-02-03 22:08:03 UTC
If searching in all namespace then remove the namespace filters all together. We should probably do this using the namespace list rather than the actual all: prefix. If the list contains all active namespaces then we really don't need to filter. It just slows things down. I wonder on a per-index basis so we don't filter if the index contains just that namespace. I tested this on an "all" search and it cut the search time from about 100 millis to about 200 millis.
Change 111070 had a related patch set uploaded by Chad: Don't filter namespaces when we're searching all namespaces https://gerrit.wikimedia.org/r/111070
Change 111070 merged by jenkins-bot: Don't filter namespaces when we're searching all namespaces https://gerrit.wikimedia.org/r/111070