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:46:43 UTC
[jira] Commented: (LUCENE-1086) Incorrect behavior in TrecDocMaker
[ https://issues.apache.org/jira/browse/LUCENE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12551258 ]
Doron Cohen commented on LUCENE-1086:
-------------------------------------
Patch looks good.
Same problem is found in 2 other doc makers, update patch to follow.
> 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
> Assignee: Doron Cohen
> Priority: Minor
> 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org