Hi, As I was reading the post "Re: TopDocCollector vs Hits: TopDocCollector slowing....", I just got curious on how he explained his change from Hits to TopDocCollector. I'm assuming that the Hits is returned from a call of: Searcher searcher = new Searcher(); searcher.search(xxx, xxx) - that will return a Hits object
I was searching the javadoc API (2.3 and 2.4) and didn't found any method that returns TopDocCollector object from a searcher.search(xxx, xxx) call. Would be a great help is someone can expound this. I might be able to use this in future implementation. Regards, Jay Joel Malaluan -- View this message in context: http://www.nabble.com/Re%3A-TopDocCollector-vs-Hits-inquiry-tp21844751p21844751.html Sent from the Lucene - Java Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org