spellcheck collate with fq parameters SOLR-2010

2012-05-31 Thread Markus Jelsma
Hi,

It seems it doesn't work or i cannot get it to work. I've tried both the 
IndexSpellchecker in Solr 3.2 and the DirectSpellchecker of trunk. The 
correctly spelled flag is correct when considering the fq parameters but the 
collation is never when using a filter. I've also tried 
spellcheck.maxCollationTries on trunk but any value higher than 0 (even very 
high) makes the collation element to disappear. Are there any (open) issues 
that i'm not aware of?

Thanks,
Markus


RE: spellcheck collate with fq parameters SOLR-2010

2012-05-31 Thread Dyer, James
Markus,

When you set spellcheck.maxCollationTries to a value greater than zero, the 
spellchecker will query each collation candidate to determine how many hits it 
would return.  If the collation will not yield any hits, it throws it away then 
tries some more (up to whatever value you set).  You can verify the correctness 
of this by setting spellcheck.maxCollationTries to zero (no checking) and 
then re-trying the collation(s) it suggests by hand (with the same fq params, 
etc).

James Dyer
E-Commerce Systems
Ingram Content Group
(615) 213-4311

-Original Message-
From: Markus Jelsma [mailto:markus.jel...@openindex.io] 
Sent: Thursday, May 31, 2012 8:45 AM
To: solr-user@lucene.apache.org
Subject: spellcheck collate with fq parameters SOLR-2010

Hi,

It seems it doesn't work or i cannot get it to work. I've tried both the 
IndexSpellchecker in Solr 3.2 and the DirectSpellchecker of trunk. The 
correctly spelled flag is correct when considering the fq parameters but the 
collation is never when using a filter. I've also tried 
spellcheck.maxCollationTries on trunk but any value higher than 0 (even very 
high) makes the collation element to disappear. Are there any (open) issues 
that i'm not aware of?

Thanks,
Markus


RE: spellcheck collate with fq parameters SOLR-2010

2012-05-31 Thread Markus Jelsma
Thanks James, that works nicely!
 
 
-Original message-
 From:Dyer, James james.d...@ingrambook.com
 Sent: Thu 31-May-2012 16:05
 To: solr-user@lucene.apache.org
 Subject: RE: spellcheck collate with fq parameters SOLR-2010
 
 Markus,
 
 When you set spellcheck.maxCollationTries to a value greater than zero, the 
 spellchecker will query each collation candidate to determine how many hits 
 it would return.  If the collation will not yield any hits, it throws it away 
 then tries some more (up to whatever value you set).  You can verify the 
 correctness of this by setting spellcheck.maxCollationTries to zero (no 
 checking) and then re-trying the collation(s) it suggests by hand (with the 
 same fq params, etc).
 
 James Dyer
 E-Commerce Systems
 Ingram Content Group
 (615) 213-4311
 
 -Original Message-
 From: Markus Jelsma [mailto:markus.jel...@openindex.io] 
 Sent: Thursday, May 31, 2012 8:45 AM
 To: solr-user@lucene.apache.org
 Subject: spellcheck collate with fq parameters SOLR-2010
 
 Hi,
 
 It seems it doesn't work or i cannot get it to work. I've tried both the 
 IndexSpellchecker in Solr 3.2 and the DirectSpellchecker of trunk. The 
 correctly spelled flag is correct when considering the fq parameters but the 
 collation is never when using a filter. I've also tried 
 spellcheck.maxCollationTries on trunk but any value higher than 0 (even very 
 high) makes the collation element to disappear. Are there any (open) issues 
 that i'm not aware of?
 
 Thanks,
 Markus