Last modified: 2013-08-08 13:33:09 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 T54457, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 52457 - CirrusSearch bases suggestions on all articles rather than those in the namespaces being searched
CirrusSearch bases suggestions on all articles rather than those in the names...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nik Everett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-02 14:42 UTC by Nik Everett
Modified: 2013-08-08 13:33 UTC (History)
2 users (show)

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


Attachments

Description Nik Everett 2013-08-02 14:42:42 UTC
CirrusSearch bases suggestions on all articles rather than those in the namespaces being searched because that is how elasticsearch is able to build a high speed suggester.  It does make some of the suggestions pretty bad because they find few results.
Comment 1 Nik Everett 2013-08-05 16:09:07 UTC
I'm going to take a stab at fixing this problem by splitting our search index in half - articles in the content namespace go into one index and the rest go into another.  This should mostly fix the problem because searches that just include content articles will only get suggestions from content articles.  This has other performance advantages but I originally thought of it as a premature optimization but if it actually fixes the bug it'll be worth it for that alone.
Comment 2 Nik Everett 2013-08-05 20:54:43 UTC
https://gerrit.wikimedia.org/r/#/c/77821/

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


Navigation
Links