You might want to open a jira issue for this to request that the feature be 
added.  If you haven't used it before, you need to create an account.  

https://issues.apache.org/jira/browse/SOLR

In the mean time, If you need to get the document frequency of the query terms, 
see http://wiki.apache.org/solr/TermsComponent , which maybe would provide you 
a viable workaround.

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


-----Original Message-----
From: Nalini Kartha [mailto:nalinikar...@gmail.com] 
Sent: Thursday, December 06, 2012 2:44 PM
To: solr-user@lucene.apache.org
Subject: Differentiate between correctly spelled term and mis-spelled term with 
no corrections

Hi,

When using the SolrSpellChecker, is there currently any way to
differentiate between a term that exists in the dictionary and a
mis-spelled term for which no corrections were found when looking at the
spellcheck response?

>From reading the doc and trying out some simple test cases it seems like
there isn't - in both cases it looks like the response doesn't include the
term.

Could the extended results format be changed to include the original term
frequency even if there are no suggestions? This would allow us to make
this differentiation.

Thanks,
Nalini

Reply via email to