Last modified: 2014-02-03 22:08:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T62783, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60783 - CirrusSearch: If searching in all namespaces then remove the namespace filters all together
CirrusSearch: If searching in all namespaces then remove the namespace filter...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-03 20:43 UTC by Nik Everett
Modified: 2014-02-03 22:08 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nik Everett 2014-02-03 20:43:07 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.
Comment 1 Gerrit Notification Bot 2014-02-03 21:23:37 UTC
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
Comment 2 Gerrit Notification Bot 2014-02-03 21:55:47 UTC
Change 111070 merged by jenkins-bot:
Don't filter namespaces when we're searching all namespaces

https://gerrit.wikimedia.org/r/111070

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links