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

Shai Erera updated LUCENE-1086:
-------------------------------

    Attachment: TrecDocMaker.patch

Simple patch that creates a File on docs.dir and if it is not absolute, creates 
new File(workDir, d).

> Incorrect behavior in TrecDocMaker
> ----------------------------------
>
>                 Key: LUCENE-1086
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1086
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Shai Erera
>             Fix For: 2.3
>
>         Attachments: TrecDocMaker.patch
>
>
> setConfig in TrecDocMaker assumes docs.dir is a relative path. Therefore it 
> create new File(workDir, docs.dir). However, if docs.dir is an absolute path, 
> this works incorrectly and results in No txt files in dataDir exception.

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


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to