|
|
-
spellcheck collate with fq parameters SOLR-2010
Markus Jelsma 2012-05-31, 13:44
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
Dyer, James 2012-05-31, 14:04
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:[EMAIL PROTECTED]] Sent: Thursday, May 31, 2012 8:45 AM To: [EMAIL PROTECTED] 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
Markus Jelsma 2012-05-31, 14:14
Thanks James, that works nicely! -----Original message----- > From:Dyer, James <[EMAIL PROTECTED]> > Sent: Thu 31-May-2012 16:05 > To: [EMAIL PROTECTED] > 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:[EMAIL PROTECTED]] > Sent: Thursday, May 31, 2012 8:45 AM > To: [EMAIL PROTECTED] > 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 >
|
|
All projects made searchable here are trademarks of the Apache Software Foundation.
Service operated by
Sematext