The current implementation doesn't sort strictly on hit-counts. Rather it gives you collations that have corrections with thenearest distance from the original terms.
Sorting on query result score sounds like an interesting and do-able alternative, although not supported currently. The caveat here (along with sorting with hit-counts) is it might select corrections that are far afield from what the user originally entered. That is, if you can fix their spelling with just 1 edit, but you get better scores with 2 or 3 edits, it would return the more dis-similar collation. Possibly in your case though that is what you want. James Dyer Ingram Content Group (615) 213-4311 -----Original Message----- From: Nikolas Everett [mailto:nik9...@gmail.com] Sent: Wednesday, July 03, 2013 3:57 PM To: solr-user@lucene.apache.org Subject: Question about weighted spell check It looks like spellcheck's collations feature is implemented using hit counts but I'm wondering if it'd be useful/possible to be able to sort by the maximum score as it would have been calculated by the query. I'm really thinking about the case when one of the spelling suggestions yields a perfect phrase match in a super important field. Nik