Page MenuHomePhabricator

CirrusSearch: If searching in all namespaces then remove the namespace filters all together
Closed, ResolvedPublic

Description

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.


Version: unspecified
Severity: normal

Details

Reference
bz60783

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:07 AM
bzimport added a project: CirrusSearch.
bzimport set Reference to bz60783.
bzimport added a subscriber: Unknown Object (MLST).

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