Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Page MenuHomePhabricator

SphinxSearch and the display of relevance ranking (search confidence) within the search result
Closed, DeclinedPublic

Description

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);

Version: unspecified
Severity: enhancement

Details

Reference
bz30869

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 21 2014, 11:54 PM
bzimport set Reference to bz30869.

svemir wrote:

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.