lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <>
Subject Re: Combining TopFieldCollector with custom Collector
Date Thu, 11 Mar 2010 21:27:20 GMT
On Thu, Mar 11, 2010 at 4:10 PM, Peter Keegan <> wrote:
> I want the TFC to do all the cool things it does like custom sorting, saving
> the field values, max score, etc. I suppose the custom Collector could
> explicitly delegate all TFC's methods, but this doesn't seem right.

No need to delegate the TFC specific methods... just wrap the TFC in
your own collector, do the search, and then directly access the TFC to
get what you need.  This is what Solr does.


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

View raw message