lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael McCandless <luc...@mikemccandless.com>
Subject Re: Combining TopFieldCollector with custom Collector
Date Thu, 11 Mar 2010 19:50:21 GMT
Can you make your own collector and then just delegate internally to TFC?

Mike

On Thu, Mar 11, 2010 at 2:30 PM, Peter Keegan <peterlkeegan@gmail.com> wrote:
> Is it possible to issue a single search that combines a TopFieldCollector
> (MultiComparatorScoringMaxScoreCollector) with a custom Collector? The
> custom Collector just collects the doc IDs into a BitSet (or DocIdSet). The
> collect() methods of the various TopFieldCollectors cannot be overridden.
>
> Thanks,
> Peter
>

---------------------------------------------------------------------
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