Thanks for the response Christian. I'll modify my original point (1) then. Is 
'onlyMorePopular' the only way to return suggestions when all of the search 
terms are present in the dictionary (ie. correct)? Is there any way to force 
behaviour (1) without behaviour (2) (filtering on frequency).

Ta,
Greg

-----Original Message-----
From: Christian Zambrano [mailto:czamb...@gmail.com] 
Sent: Monday, 5 October 2009 11:59 AM
To: solr-user@lucene.apache.org
Subject: Re: Always spellcheck (suggest)

I believe your understanding in incorrect. The first behavior you 
described is produced by adding the paremeter "spellcheck=true". 
Suggestions will be returned regardless of whether there are results. 
The only time I believe spelling suggestions might not be included is 
when all of the words are spelled "correctly".

On 10/04/2009 07:55 PM, Greg Pendlebury wrote:
> Hi All,
>
> If I understand correctly the flag 'onlyMorePopular' encapsulates two 
> independent behaviours. 1) It runs spell checking across queries that 
> returned hits. Without the flag spell checking is not run when results are 
> found. 2) It limits suggestions to terms with higher frequencies.
>
> Is there any way to get behaviour (1) without behaviour (2)? Such as another 
> flag I'm not seeing in the doco? The usage context is spelling suggestions 
> for international usage. Eg. The user searches 'behaviour', we want it to 
> suggest US spelling 'behavior' and vice versa. At the moment, the suggestion 
> only works one way.
>
> Ta,
> Greg
>
>
> This email (including any attached files) is confidential and is for the
> intended recipient(s) only.  If you received this email by mistake,
> please, as a courtesy, tell the sender, then delete this email.
>
> The views and opinions are the originator's and do not necessarily
> reflect those of the University of Southern Queensland.  Although all
> reasonable precautions were taken to ensure that this email contained no
> viruses at the time it was sent we accept no liability for any losses
> arising from its receipt.
>
> The University of Southern Queensland is a registered provider of
> education with the Australian Government (CRICOS Institution Code No's.
> QLD 00244B / NSW 02225M)
>
>
>
>    

This email (including any attached files) is confidential and is for the
intended recipient(s) only.  If you received this email by mistake,
please, as a courtesy, tell the sender, then delete this email.

The views and opinions are the originator's and do not necessarily
reflect those of the University of Southern Queensland.  Although all
reasonable precautions were taken to ensure that this email contained no
viruses at the time it was sent we accept no liability for any losses
arising from its receipt.

The University of Southern Queensland is a registered provider of
education with the Australian Government (CRICOS Institution Code No's.
QLD 00244B / NSW 02225M)


Reply via email to