lucene-solr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yonik Seeley (JIRA)" <j...@apache.org>
Subject [jira] Commented: (SOLR-442) FileFloatSource should read file from dataDir, not indexDir
Date Fri, 21 Dec 2007 01:36:43 GMT

    [ 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.


Mime
View raw message