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

Shai Erera resolved LUCENE-929.
-------------------------------

       Resolution: Fixed
    Fix Version/s: 4.0
                   3.1

Since ExtractReuters deletes all the files under the outputDir in its ctor, I 
didn't fail its main() if the directory exists. I've done some re-formatting to 
the class, but the relevant changes are under main().

Committed revision 1063640 (3x).
Committed revision 1063647 (trunk).

Thanks Doron and Grant !

> contrib/benchmark build doesn't handle checking if content is properly 
> extracted
> --------------------------------------------------------------------------------
>
>                 Key: LUCENE-929
>                 URL: https://issues.apache.org/jira/browse/LUCENE-929
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: contrib/benchmark
>            Reporter: Grant Ingersoll
>            Priority: Minor
>             Fix For: 3.1, 4.0
>
>
> The contrib/benchmark build does not properly handle checking to see if the 
> content (such as Reuters coll.) is properly extracted.  It only checks to see 
> if the directory exists.  Thus, it is possible that the directory gets 
> created and the extraction fails.  Then, the next time it is run, it skips 
> the extraction part and tries to continue on running the benchmark.
> The workaround is to manually delete the extraction directory.

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