You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by bu...@apache.org on 2004/04/11 20:27:51 UTC
DO NOT REPLY [Bug 28339] New: -
addIndexes unexpectedly closes index
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28339>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28339
addIndexes unexpectedly closes index
Summary: addIndexes unexpectedly closes index
Product: Lucene
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: Other
Component: Index
AssignedTo: lucene-dev@jakarta.apache.org
ReportedBy: boris@alum.mit.edu
It seems that in 1.4rc2, a call to IndexWriter.addIndexes (IndexReader[]) will
close the provided IndexReader; in 1.3-final this does not happen. So my code
which uses addIndexes to merge new information into an index and then calls
close() on the IndexReader now crashes with an "already closed" exception. I
can attach test code which works in 1.3 but not in 1.4rc2 if that would be helpful.
If this is an intentional change in behavior, it needs to be documented. Thanks!
---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org