You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shai Erera (JIRA)" <ji...@apache.org> on 2007/12/10 13:30:45 UTC
[jira] Created: (LUCENE-1086) Incorrect behavior in TrecDocMaker
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
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
[jira] Updated: (LUCENE-1086) Incorrect behavior in TrecDocMaker
Posted by "Shai Erera (JIRA)" <ji...@apache.org>.
[ 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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org
[jira] Updated: (LUCENE-1086) Incorrect behavior in TrecDocMaker
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen updated LUCENE-1086:
--------------------------------
Attachment: lucene-1086.patch
Updated patch fixing this also in ReutersDocMaker and DirDocMaker.
> 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: 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
[jira] Updated: (LUCENE-1086) DocMakers setup for the "docs.dir"
property fails when passing an absolute path.
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ 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
[jira] Updated: (LUCENE-1086) Incorrect behavior in TrecDocMaker
Posted by "Michael Busch (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Busch updated LUCENE-1086:
----------------------------------
Priority: Minor (was: Major)
Lucene Fields: [New, Patch Available] (was: [Patch Available, New])
> 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
[jira] Assigned: (LUCENE-1086) Incorrect behavior in TrecDocMaker
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen reassigned LUCENE-1086:
-----------------------------------
Assignee: Doron Cohen
> 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
> 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
[jira] Commented: (LUCENE-1086) Incorrect behavior in TrecDocMaker
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ 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
[jira] Resolved: (LUCENE-1086) DocMakers setup for the "docs.dir"
property fails when passing an absolute path.
Posted by "Doron Cohen (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/LUCENE-1086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Doron Cohen resolved LUCENE-1086.
---------------------------------
Resolution: Fixed
Lucene Fields: [Patch Available] (was: [Patch Available, New])
Committed, Thanks Shai!
> 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