Open GoogleCodeExporter opened 9 years ago
I encountered the same problem with Lucene 4.9 and Lucene Transform 4.9
I found the following ways to avoid/fix the problem:
1. Always use MMapDirectory, the exception does not occur
2. Modify calls to nested.openInput() in TransformedDirectory.fileLength from:
nested.openInput(name, null);
To:
nested.openInput(name, IOContext.READONCE);
I'm not sure if (2) is the correct fix as I'm not extremely familiar with
Lucene details, so there may be side-effects I've yet to find
Original comment by cmatthew...@gmail.com
on 23 Oct 2014 at 7:22
Original issue reported on code.google.com by
b.roussa...@yahoo.com
on 2 Oct 2014 at 1:44