Did you try calling flush() on the IndexOutput before opening the IndexInput?
-Yonik On Thu, Jun 19, 2008 at 12:13 PM, Jason Rutherglen <[EMAIL PROTECTED]> wrote: > Seeing strange behavior with RAMDirectory. Is a file designed to supported > IndexOutput being open concurrently with IndexInput? I open an IndexInput > with IndexOutput open, with data written to the file previously, and the > IndexInput is reporting a filelength of 0, while Directory.fileLength() > reports 110. Also seeing other strange behavior. > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]