Bytes seem the same but checksums differ

2009-08-14 Thread Bryan Swift
I'm attempting to create a Directory implementation (lucene-core 2.4.1) to sit on top of Google's App Engine Datastore (written in Scala). In the process of doing this I found something odd for which I'm hoping there is a relatively simple solution. When instantiating a new IndexWriter with my Dire

Re: Bytes seem the same but checksums differ

2009-08-14 Thread Bryan Swift
Right, so after looking at what was happening in SegmentInfos again I noticed I was saving to the Datastore on IndexOutput.flush but not on close. Persisting the file on close solved this particular problem. Sorry about that. On Sat, Aug 15, 2009 at 1:03 AM, Bryan Swift wrote: > I'm at

Lucene-Core test failures

2009-08-18 Thread Bryan Swift
I was running the tests which lucene-core version 2.4 and I noticed a failure in org.apache.lucene.index.TestIndexInput for testRead at line 89. The assertions in question have to do with reading "Modified UTF-8 null bytes" according to the comments in the file. It seems these modified null