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 "Yonik Seeley (JIRA)" <ji...@apache.org> on 2007/12/21 02:36:43 UTC

[jira] Commented: (SOLR-442) FileFloatSource should read file from dataDir, not indexDir

    [ https://issues.apache.org/jira/browse/SOLR-442?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12553840 ] 

Yonik Seeley commented on SOLR-442:
-----------------------------------

+1

If one wants the file in the index directory they can specify index/filename
Does that actually work with the current code (I know I wrote it, but I really don't recall)?
Perhaps the test schema should be changed to verify.



> FileFloatSource should read file from dataDir, not indexDir
> -----------------------------------------------------------
>
>                 Key: SOLR-442
>                 URL: https://issues.apache.org/jira/browse/SOLR-442
>             Project: Solr
>          Issue Type: Improvement
>          Components: search
>    Affects Versions: 1.3
>            Reporter: Ryan McKinley
>            Priority: Minor
>             Fix For: 1.3
>
>         Attachments: SOLR-442-UseDataDir.patch
>
>
> The FileFloatSource currently loads its file from the indexDir:
> parser.getReq().getCore().getIndexDir()
> This is a problem for an empty index since you get a FileNotFoundException.  
> Rather then using indexDir, this should use getDataDir()

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