lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nitin Solanki <nitinml...@gmail.com>
Subject Re: Frequency of Suggestion are varying from original Frequency in index
Date Sun, 08 Mar 2015 12:39:47 GMT
Hi Wang,
             I am using SolrCloud. Is suggestion not working properly in
that?

On Fri, Mar 6, 2015 at 2:36 PM, gaohang wang <gaohangwang@gmail.com> wrote:

> do you use solrcloud?maybe your suggestion is not support distribute
>
> 2015-03-04 22:39 GMT+08:00 Nitin Solanki <nitinmlvya@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..
> >
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message