Hi,

I have downloaded a dictionary in plane text format from
http://icon.shef.ac.uk/Moby/mwords.html and added it to my /mnt directory.

When I tried to add:

     <lst name="dictionary">
           <str name="name">external</str>
           <str
name="type">org.apache.solr.spelling.FileBasedSpellChecker</str>
           <str name="sourceLocation">/mnt/dictionary.txt</str>
           <str name="fieldType">text</str>
      </lst>

within the <requestHandler name="spellchecker"
class="solr.SpellCheckerRequestHandler" startup="lazy"> block, I thought it
would be as easy as running a query like:

http://localhost:8983/solr/select/?q=cancr&spellcheck=true&spellcheck.build=true

to get it to work. Can anyone tell me what steps I am missing here? Thanks
for any help here.

I was trying to get the idea from the example here:
https://issues.apache.org/jira/browse/SOLR-572 after reading through
http://wiki.apache.org/solr/SpellCheckComponent

-- 
Regards,

Ian Connor

Reply via email to