Re: TopDocCollector vs Hits: TopDocCollector slowing....

2009-02-18 Thread AlexElba
Grant Ingersoll-6 wrote: > > I presume they are both now slower, right? Otherwise you wouldn't > mind the speedup on the bigger one. Hits did caching and prefetched > things, which has it's tradeoffs. Can you describe how you were > measuring the queries? How many results were you get

Re: TopDocCollector vs Hits: TopDocCollector slowing....

2009-02-04 Thread Grant Ingersoll
I presume they are both now slower, right? Otherwise you wouldn't mind the speedup on the bigger one. Hits did caching and prefetched things, which has it's tradeoffs. Can you describe how you were measuring the queries? How many results were you getting? -Grant On Feb 3, 2009, at 8:

TopDocCollector vs Hits: TopDocCollector slowing....

2009-02-03 Thread AlexElba
Hello, I was using lucene 2.3.2 with hits and switch to lucene 2.4.0 and now I am using TopDocCollector. I have two queries which are running against the same index. One query is returning 80bytes information other one is returning 2000bytes With old Hits the query which was returning smaller d