lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Noll <dan...@nuix.com>
Subject Re: Lucene: MultiSearcher
Date Sun, 08 Mar 2009 22:22:14 GMT
Michael McCandless wrote:
> 
> You could look at the docID of each hit, and compare to the .maxDoc() of 
> each underlying reader.

There is also MultiSearcher#subSearcher(int) which also works as you add 
more without having to do the maths yourself.

Daniel


-- 
Daniel Noll                            Forensic and eDiscovery Software
Senior Developer                              The world's most advanced
Nuix                                                email data analysis
http://nuix.com/                                and eDiscovery software

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


Mime
View raw message