Re: TopDocCollector limits

2009-09-30 Thread Mark Miller
Way the heck better - Hits is horrible for that. It caches like 100 hits and then keeps searching when you exhaust the cache (been I while since I've looked at the exact numbers). Its horribly inefficient for checking every hit. Hits will end up using a Collector anyway - and then throw a speed tr

Re: TopDocCollector limits

2009-09-30 Thread Max Lynch
Thanks Mark that's exactly what I need. How does the performance of processing each document in the collect method of HitCollector compare to looping through the Hits in the deprecated Hits class? On Tue, Sep 29, 2009 at 7:40 PM, Mark Miller wrote: > Max Lynch wrote: > > Hi, > > I am developing

Re: TopDocCollector limits

2009-09-29 Thread Mark Miller
Max Lynch wrote: > Hi, > I am developing a search system that doesn't do pagination (searches are run > in the background and machine analyzed). However, TopDocCollector makes me > put a limit on how many results I want back. For my system, each result > found is important. How can I make it col

TopDocCollector limits

2009-09-29 Thread Max Lynch
Hi, I am developing a search system that doesn't do pagination (searches are run in the background and machine analyzed). However, TopDocCollector makes me put a limit on how many results I want back. For my system, each result found is important. How can I make it collect every result found? T