Hi James,
                 How to see the suggestions of
spellcheck.alternativeTermCount ?

On Wed, Feb 18, 2015 at 11:09 AM, Nitin Solanki <[email protected]>
wrote:

> 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