Re: how to select top categories.

2006-01-26 Thread Paul Elschot
On Wednesday 25 January 2006 22:24, Chris Hostetter wrote: > > : for this site, but would you cash all manufacturers and intersect all with > : the initial query in one page load? Seems like that would be alot. > > Yep it is a lot, but if you've got the RAM, it's not that time intensive. > At CNE

Re: how to select top categories.

2006-01-25 Thread Chris Hostetter
: for this site, but would you cash all manufacturers and intersect all with : the initial query in one page load? Seems like that would be alot. Yep it is a lot, but if you've got the RAM, it's not that time intensive. At CNET, depending on what page you are looking at, i'm doing anywhere from 1

Re: how to select top categories.

2006-01-25 Thread Mike Austin
Chris.. thanks for you quick response. :doing a few thousand BitSet intersections doesn't take as much time as you think Even if the BitSet is around 4-5 million? and I would have to quickly go through about a thousand of these? I guess I would have to decide what sub-cats to cache the bitsets fo

Re: how to select top categories.

2006-01-25 Thread Chris Hostetter
You will likely find this thread interesting... http://www.nabble.com/Announcement%3A-Lucene-powering-CNET.com-Product-Category-Listings-t266441.html : 1) Do queries for each sub-category using the results of the first initial : query and use the hits count to select the sub-categories to displa