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=30685>. 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=30685 [PATCH] store.InputStream with reduced buffer requirements ------- Additional Comments From [EMAIL PROTECTED] 2004-09-29 07:49 ------- Doug just committed MMapDirectory.java with this clone(): public Object clone() { MMapIndexInput clone = (MMapIndexInput)super.clone(); clone.isClone = true; clone.buffer = buffer.duplicate(); return clone; } As buffer.duplicate() shares the buffer content, reducing the buffer requirements of InputStream is now obsolete. The only thing left is a documentation note for the max. nr. of clauses in a BooleanQuery that for a MMapDirectory the buffering is left to the operating system. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]