I have tried it in all sorts of ways including spellcheck.onlyMorePopular
and spellcheck.onlymorepopular to no avail.  It still suggests things that
are way lower than the main query.


On 11/14/08 5:59 PM, "Grant Ingersoll" <[EMAIL PROTECTED]> wrote:

> Try spellcheck.onlyMorePopular.
> 
> 
> On Nov 14, 2008, at 1:53 PM, Jeff Newburn wrote:
> 
>> I am trying to get the onlyMorePopular variable to function
>> correctly.  I
>> have tried adding both spellchecker.onlyMorePopular as well as
>> sp.query.onlyMorePopular yet neither of these seem to change the
>> spelling
>> suggestion response.  I am not sure if I simply do not understand
>> what it is
>> intended to do or if I am doing something wrong. Below is some of the
>> response showing this:
>> 
>> <response>
>> ?
>> <lst name="responseHeader">
>> <int name="status">0</int>
>> <int name="QTime">19</int>
>> ?
>> <lst name="params">
>> <str name="spellcheck">true</str>
>> <str name="sp.query.onlyMorePopular">true</str>
>> <str name="spellcheck.collate">true</str>
>> <str name="q">nice</str>
>> </lst>
>> </lst>
>> +
>> <result name="response" numFound="930" start="0"></result>
>> ?
>> <lst name="spellcheck">
>> ?
>> <lst name="suggestions">
>> ?
>> <lst name="nice">
>> <int name="numFound">1</int>
>> <int name="startOffset">0</int>
>> <int name="endOffset">4</int>
>> ?
>> <arr name="suggestion">
>> <str>Nike</str>
>> </arr>
>> </lst>
>> <str name="collation">Nike</str>
>> </lst>
>> </lst>
>> </response>
>> 
>> -Jeff
> 
> --------------------------
> Grant Ingersoll
> 
> Lucene Helpful Hints:
> http://wiki.apache.org/lucene-java/BasicsOfPerformance
> http://wiki.apache.org/lucene-java/LuceneFAQ
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

Reply via email to