Last modified: 2013-09-26 15:09:50 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 T55039, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53039 - CirrusSearch: When there isn't much data in the wiki result sorting can be wildly wrong
CirrusSearch: When there isn't much data in the wiki result sorting can be wi...
Status: VERIFIED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CirrusSearch (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-19 14:13 UTC by Nik Everett
Modified: 2013-09-26 15:09 UTC (History)
2 users (show)

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


Attachments

Description Nik Everett 2013-08-19 14:13:13 UTC
When there isn't much data in the index result sorting can be wildly wrong.  The simplest way to fix this is to only use a single shard for really small wikis.  We could also fix it by adding an extra query parameter to searches for small wikis.  Read more here:  http://www.elasticsearch.org/blog/understanding-query-then-fetch-vs-dfs-query-then-fetch/
Comment 1 Nik Everett 2013-08-19 14:14:45 UTC
Note that this shouldn't be a problem in production because there will be "enough" data but it makes tests fail spuriously.
Comment 2 Nik Everett 2013-08-19 14:15:09 UTC
Assigning high because it causes my tests to fail when they shouldn't, making me waste time.
Comment 3 Nik Everett 2013-08-19 14:54:41 UTC
https://gerrit.wikimedia.org/r/#/c/79791/
Comment 4 Gerrit Notification Bot 2013-08-19 17:59:10 UTC
Change 79791 had a related patch set uploaded by Demon:
Default to more accurate but slower search_type.

https://gerrit.wikimedia.org/r/79791
Comment 5 Gerrit Notification Bot 2013-08-19 18:04:00 UTC
Change 79791 merged by jenkins-bot:
Default to more accurate but slower search_type.

https://gerrit.wikimedia.org/r/79791
Comment 6 Nik Everett 2013-09-26 15:09:50 UTC
Live and working.

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


Navigation
Links