Last modified: 2011-09-12 15:56:04 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 T32869, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 30869 - SphinxSearch and the display of relevance ranking (search confidence) within the search result
SphinxSearch and the display of relevance ranking (search confidence) within ...
Status: RESOLVED WONTFIX
Product: MediaWiki extensions
Classification: Unclassified
SphinxSearch (Other open bugs)
unspecified
All All
: Unprioritized enhancement (vote)
: ---
Assigned To: Svemir Brkic
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-09-12 14:16 UTC by MWJames
Modified: 2011-09-12 15:56 UTC (History)
0 users

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


Attachments

Description MWJames 2011-09-12 14:16:19 UTC
Maybe it would be possible to display information about relevance ranking[1] or search confidence within the search result[2], [3]. The display might indicate a confidence about the search term and its position within the search list.

[1] http://sphinxsearch.com/blog/2010/08/17/how-sphinx-relevance-ranking-works/ or other customized rankings 

[2] See includes/specials/SpecialSearch.php 
    ...
    $result->getScore()

[3] extensions/LuceneSearch.php
    ...
    $score = wfMsg('searchscore', $percent);
Comment 1 Svemir Brkic 2011-09-12 15:56:04 UTC
MW currently only allows a simple score (percentage) to be displayed. It does not seem possible to convert the weight sphinx assigns to a percentage that would have a meaning to a regular user. To understand this "percentage", you would need to have a good understanding of how sphinx calculates the weight, and even that is different for different sorting algorithms.

Things get even more complicated when custom weights are used, as we do already - we give a much higher weight to the title field.

If you have some specific ideas how to actually do this, feel free to reopen the bug with your suggestions.

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


Navigation
Links