You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Doron Cohen (JIRA)" <ji...@apache.org> on 2007/12/13 09:54:43 UTC

[jira] Updated: (LUCENE-1086) DocMakers setup for the "docs.dir" property fails when passing an absolute path.

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

Doron Cohen updated LUCENE-1086:
--------------------------------

    Lucene Fields: [New, Patch Available]  (was: [Patch Available, New])
          Summary: DocMakers setup for the "docs.dir" property fails when passing an absolute path.  (was: Incorrect behavior in TrecDocMaker)

> DocMakers setup for the "docs.dir" property fails when passing an absolute path.
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-1086
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1086
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Shai Erera
>            Assignee: Doron Cohen
>            Priority: Minor
>             Fix For: 2.3
>
>         Attachments: lucene-1086.patch, 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org