lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <>
Subject Re: [jira] Commented: (LUCENE-1483) Change IndexSearcher to use MultiSearcher semantics for multiple subreaders
Date Tue, 23 Dec 2008 14:32:25 GMT

Mark Miller wrote:

> Mark Miller wrote:
>> Michael McCandless (JIRA) wrote:
>>> Well, it's tricky... and indeed all tests pass with the bug (which  
>>> is
>>> spooky -- I think we need to add cases to TestSort where 1) the  
>>> index
>>> has many segments, and 2) the number of hits is much greater than  
>>> the
>>> queue size), but I'm pretty sure it's a bug
>> Its a nasty one - I had a test I was running with 200,000 docs and  
>> 10 or 1000 length queue, match all docs query - seemed to come back  
>> in order every time (though that doesnt mean its the right top n,  
>> just that the top n returned were always in order). I'll try to  
>> tweak that to catch this somehow.
> Ah - I was getting very lucky, I guess over and over, by hand. As  
> soon as I loop it 10 times, one pretty much always fails.

OK, phew!  But, then, does the test pass w/ the latest patch (which  
should fix this issue)?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message