Hi Wang, I am using SolrCloud. Is suggestion not working properly in that?
On Fri, Mar 6, 2015 at 2:36 PM, gaohang wang <gaohangw...@gmail.com> wrote: > do you use solrcloud?maybe your suggestion is not support distribute > > 2015-03-04 22:39 GMT+08:00 Nitin Solanki <nitinml...@gmail.com>: > > > Hi.. > > I have a term("who") where original frequency of "who" is 191 but > > when I get suggestion of "who" it gives me 90. Why? > > > > Example : > > > > *Original Frequency* comes like: > > > > "spellcheck":{ > > "suggestions":[ > > "who",{ > > "numFound":1, > > "startOffset":1, > > "endOffset":4, > > "origFreq":*191*, > > "correctlySpelled",false]}} > > > > While In *Suggestion*, it gives like: > > > > "spellcheck":{ > > "suggestions":[ > > "whs",{ > > "numFound":1, > > "startOffset":1, > > "endOffset":4, > > "origFreq":0, > > "suggestion":[{ > > "word":"who", > > "freq":*90*}]}, > > "correctlySpelled",false]}} > > > > > > > > Why it is so? > > > > I am using StandardTokenizerFactory with ShingleFilterFactory in > > Schema.xml.. > > >