Hi O. Klein, How you sorted the suggestion on frequency? I think, You used <str name="comparatorClass"> freq </str> to sort suggestions of frequency. Are you using sharding/multiple servers in Solr because on single node, comparatorClass is working but on multiple servers, it is not working. Please assist me how to sort on frequency on multiple server/shards.
On Wed, Feb 11, 2015 at 12:56 AM, O. Klein <kl...@octoweb.nl> wrote: > I did some testing and the order of dictionaries doesn't seem to have an > effect. They are sorted by frequency. So if mm was applied "holy wood" > would > have a lower frequency and solve this problem. > > "suggestions":[ > "holywood",{ > "numFound":4, > "startOffset":0, > "endOffset":8, > "origFreq":4, > "suggestion":[{ > "word":"holy wood", > "freq":71828}, > { > "word":"hollywood", > "freq":2669}, > { > "word":"holyrood", > "freq":14}, > { > "word":"homewood", > "freq":737}]}, > "correctlySpelled",false, > "collation","(holy wood)", > "collation","hollywood"]}} > > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/alternativeTermCount-and-WordBreakSolrSpellChecker-combination-not-working-tp4185352p4185461.html > Sent from the Solr - User mailing list archive at Nabble.com. >