Home | About | Sematext search-lucene.com search-hadoop.com
 Search Lucene and all its subprojects:

Switch to Threaded View
Solr, mail # user - spellcheck collate with fq parameters SOLR-2010


Copy link to this message
-
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