[ 
https://issues.apache.org/jira/browse/LUCENE-1412?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12637236#action_12637236
 ] 

Michael McCandless commented on LUCENE-1412:
--------------------------------------------

Actually, Directory.copy is not designed to work correctly when the source 
directory is being modified.  I'll update its javadocs to that effect.

> FileNotFoundException thrown by Directory.copy()
> ------------------------------------------------
>
>                 Key: LUCENE-1412
>                 URL: https://issues.apache.org/jira/browse/LUCENE-1412
>             Project: Lucene - Java
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 2.4
>         Environment: Java 6. Directory.java and RAMDirectory.java are both at 
> revision 700591.  The thread that threw this runs concurrently with others 
> searching and writing the same index.
>            Reporter: Anthony Urso
>
> java.io.FileNotFoundException: segments_bu
>         at 
> org.apache.lucene.store.RAMDirectory.openInput(RAMDirectory.java:234)
>         at org.apache.lucene.store.Directory.copy(Directory.java:190)

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