On Thu, Mar 11, 2010 at 4:10 PM, Peter Keegan <peterlkee...@gmail.com> 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. -Yonik http://www.lucidimagination.com --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org