IndexReader.clone can leave files open
--------------------------------------

                 Key: LUCENE-1569
                 URL: https://issues.apache.org/jira/browse/LUCENE-1569
             Project: Lucene - Java
          Issue Type: Bug
          Components: Index
    Affects Versions: 2.9
            Reporter: Michael McCandless
            Assignee: Michael McCandless
            Priority: Minor
             Fix For: 2.9
         Attachments: LUCENE-1569.patch

I hit this in working on LUCENE-1516.

When not using compound file format, if you clone an IndexReader, then close 
the original, then close the clone, the stored fields files (_X.fdt, _X.fdx) 
remain incorrectly open.

I have a test showing it; fix is trivial.  Will post patch & commit shortly.

-- 
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-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-dev-h...@lucene.apache.org

Reply via email to