Hello -

I have a working Solr v9.4.1 installation, to which I want to add file-based 
spellchecking.

I want to add file-based spellchecking so that I can identify search terms that 
are correctly spelled, even if they don't appear in the main index of 
searchable documents.

Following the Apache Solr documentation, I have set up file-based 
spellchecking, and a request handler endpoint referring to the defined 
file-based spellchecking.

However, every query results in a false-negative of : ... 
"correctlySpelled":false ...

This even occurs when supplying as a query term one of the suggestions for 
another term.  For example, "ablation" and "oblation" are each offered as a 
suggested correct spellings for the other, yet both are deemed incorrectly 
spelled when used as the query term.

Even with these results, I'm certain that Solr is in fact referring to the 
dictionary file I have defined, because words like "ablation" and "oblation" do 
not apper anywhere in the main index of searchable documents, so the only way 
that Solr can know about them to offer them as suggestions is by reading them 
from the specified dictionary file.

Is anyone successfully using file-based spellchecking?

Are there specific steps that need to be taken which aren't detailed in and/or 
perfectly clear in the Solr documentation?

Can someone share their Solr config for a working file-based spellchecking?

Thanks in advace for any hints, info, or details folks can share.

Andrew Witt
Senior Software Engineer II
Learning A-Z, a Cambium Learning(r) Group Company
andrew.w...@learninga-z.com<mailto:andrew.w...@learninga-z.com>

Reply via email to