You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-dev@lucene.apache.org by "Grant Ingersoll (JIRA)" <ji...@apache.org> on 2008/06/24 02:01:45 UTC

[jira] Resolved: (SOLR-604) SpellCheckComponent builds the index in a path relative to CWD

     [ https://issues.apache.org/jira/browse/SOLR-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Grant Ingersoll resolved SOLR-604.
----------------------------------

    Resolution: Fixed

Committed revision 670973.

> SpellCheckComponent builds the index in a path relative to CWD
> --------------------------------------------------------------
>
>                 Key: SOLR-604
>                 URL: https://issues.apache.org/jira/browse/SOLR-604
>             Project: Solr
>          Issue Type: Bug
>          Components: spellchecker
>    Affects Versions: 1.3
>            Reporter: Shalin Shekhar Mangar
>            Assignee: Grant Ingersoll
>            Priority: Trivial
>             Fix For: 1.3
>
>         Attachments: SOLR-604.patch
>
>
> SpellCheckComponent builds the spell check index inside the current working directory instead of inside the dataDir specified in solrconfig.xml
> It should use the same behavior as the SpellCheckerRequestHandler which is to build the spellcheckIndexDir inside of dataDir.
> To reproduce this behavior use the following config:
> {code:xml}
>  <lst name="spellchecker">
>       <str name="classname">org.apache.solr.spelling.FileBasedSpellChecker</str>
>       <str name="name">external</str>
>       <str name="sourceLocation">spellings.txt</str>
>       <str name="characterEncoding">UTF-8</str>
>       <str name="spellcheckIndexDir">spellchecker2</str>
>     </lst>
> {code}
> The index is created in the CWD/spellchecker2 whereas it should build it inside ${solr.data.dir}/spellchecker2
> First reported at http://www.nabble.com/SpellCheckComponent%3A-No-file-based-suggestions-%2B-Location-issue-p18048785.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.