Last modified: 2011-01-28 19:55:43 UTC
For third party tools and applications it'd be very helpful to have some way of indicating how good a result is compared to other search results within the same query, or perhaps from a different query or even search results from a different wiki.
Search API query result rows include a 'score' value if it's reported by the search engine. Neither the MySQL nor Lucene (MWSearch) engines do. (Lucene used to, but we took it out since the value was confusing.) SearchResult::getScore() returns the value.
Note also that relevancy scores are likely not terribly useful for comparing across different searches as they're going to be *very* specific to the query, search set and algorithms.