Alex Bogdanovski
Alex Bogdanovski
Hm, not sure what's causing that... How large are the index files?
Can you show me the full stack trace from the logs, please?
I don't see a class named `ReadIndex.java` in the source code - is that your own code? How exactly are you reading the indexes from S3?
I honestly have no idea what's going on. The tests pass but I also cannot read any index which is manually uploaded to S3. There's a problem in the code...
I will see what I can do but I can't promise a fix. Keep in mind that this is an **experimental project** which is not at all recommended for production...
If you can find the root cause of the problem, pull requests are open. I tried but I get `org.apache.lucene.index.CorruptIndexException` or `BufferUnderflowException` when I the code tries to read a...
The issue lies in this method: https://github.com/albogdano/lucene-s3directory/blob/41325a61cb52afb2eb301b80e68fe6ff9eba2909/src/main/java/com/erudika/lucene/store/s3/index/FetchOnBufferReadS3IndexInput.java#L189 Since Lucene 8.x the signature of that method has changed and I don't know how to implement it.
Do you happen to know the Lucene version of the index you are trying to read from S3? The dependencies here haven't been updated in a while - maybe the...
No, I mean the version of the actual index files on S3 - do you know that? Looks like it's version 6.x because I see calls to `Lucene60FieldInfosFormat.read` in the...
Perhaps the code for reading the objects from S3 contains a bug which only appears when the objects are large in size. I will have to review the code.