I have 48GB of indexed data.
I have set spellcheck.count=1 & spellcheck.alternativeTermCount=10 but I am
getting only 1 suggestions in suggestion block but Suggestions for
collations are coming.

*PFA*. for details

On Thu, Feb 19, 2015 at 1:50 AM, Dyer, James <[email protected]>
wrote:

> It will try to give you suggestions up to the number you specify, but if
> fewer are available it will not give you any more.
>
> James Dyer
> Ingram Content Group
>
> -----Original Message-----
> From: Nitin Solanki [mailto:[email protected]]
> Sent: Tuesday, February 17, 2015 11:40 PM
> To: [email protected]
> Subject: Re: spellcheck.count v/s spellcheck.alternativeTermCount
>
> Thanks James,
>                       I tried the same thing
> spellcheck.count=10&spellcheck.alternativeTermCount=5. And I got 5
> suggestions of both "life" and "hope" but not like this * The spellchecker
> will try to return you up to 10 suggestions for "hope", but only up to 5
> suggestions for "life". *
>
>
> On Wed, Feb 18, 2015 at 1:10 AM, Dyer, James <[email protected]
> >
> wrote:
>
> > Here is an example to illustrate what I mean...
> >
> > - query q=text:(life AND
> > hope)&spellcheck.count=10&spellcheck.alternativeTermCount=5
> > - suppose at least one document in your dictionary field has "life" in it
> > - also suppose zero documents in your dictionary field have "hope" in
> them
> > - The spellchecker will try to return you up to 10 suggestions for
> "hope",
> > but only up to 5 suggestions for "life"
> >
> > James Dyer
> > Ingram Content Group
> >
> >
> > -----Original Message-----
> > From: Nitin Solanki [mailto:[email protected]]
> > Sent: Tuesday, February 17, 2015 11:35 AM
> > To: [email protected]
> > Subject: Re: spellcheck.count v/s spellcheck.alternativeTermCount
> >
> > Hi James,
> >                     How can you say that "count" doesn't use
> > index/dictionary then from where suggestions come.
> >
> > On Tue, Feb 17, 2015 at 10:29 PM, Dyer, James <
> > [email protected]>
> > wrote:
> >
> > > See http://wiki.apache.org/solr/SpellCheckComponent#spellcheck.count
> and
> > > the following section, for details.
> > >
> > > Briefly, "count" is the # of suggestions it will return for terms that
> > are
> > > *not* in your index/dictionary.  "alternativeTermCount" are the # of
> > > alternatives you want returned for terms that *are* in your dictionary.
> > > You can set them to the same value, unless you want fewer suggestions
> > when
> > > the terms is in the dictionary.
> > >
> > > James Dyer
> > > Ingram Content Group
> > >
> > > -----Original Message-----
> > > From: Nitin Solanki [mailto:[email protected]]
> > > Sent: Tuesday, February 17, 2015 5:27 AM
> > > To: [email protected]
> > > Subject: spellcheck.count v/s spellcheck.alternativeTermCount
> > >
> > > Hello Everyone,
> > >                           I got confusion between spellcheck.count and
> > > spellcheck.alternativeTermCount in Solr. Any help in details?
> > >
> >
>

Reply via email to