On 6/5/07, Will Johnson <[EMAIL PROTECTED]> wrote:
I haven't looked at any of the patches but I can comment some other uses for the feature that are in production today with major vendors. While it's used for site collapsing ala google it's also heavily used in ecommerce settings. Check out BestBuy.com/circuitcity/etc and do a search for some really generic word like 'cable' and notice all the groups of items; BB shows 3 per group, CC shows 1 per group. In each case it's not clear that the number of docs is really limited at all, ie it's more important to get back all the categories with n docs per category and the counts per category than it is to get back a fixed number of results or even categories for that matter. Also notice that neither of these sites allow you to page through the categorized results.
Thans for the use cases... I've added some of this info to the bug to easier keep track of it.
I'd also point out that many vendors require the collapsing field to be an int instead of a string and then force the front end to do the mapping.
Now that just seems silly... must be lucene is just a superior technology to build a search platform from ;-) -Yonk