lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: [Performance] Streaming main memory indexing of single strings
Date Tue, 03 May 2005 00:33:52 GMT

On May 2, 2005, at 5:21 PM, Wolfgang Hoschek wrote:

> Finally found and fixed the bug!
> The fix is simply to replace MemoryIndex.MemoryIndexReader skipTo()  
> with the following:
>
>                 public boolean skipTo(int target) {
>                     if (DEBUG) System.err.println(".skipTo: " +  
> target);
>                     return next();
>                 }
>
> Apparently lucene-1.4.3 didn't use skipTo() in a way that triggered  
> the bug, while SVN does.

I've committed this change after it successfully worked for me.

Thanks!

     Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message