java-user@lucene.apache.org
[Top] [All Lists]

Re: Lucene: MultiSearcher

Subject: Re: Lucene: MultiSearcher
From: Michael McCandless
Date: Mon, 9 Mar 2009 06:26:29 -0400

Excellent, that's the way to go. I hadn't realized that method was public.

Mike

Daniel Noll wrote:

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@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx



---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@xxxxxxxxxxxxxxxxx
For additional commands, e-mail: java-user-help@xxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>