colapsing the result by a given field

2006-03-11 Thread emerson cargnin
In my company's system we need to make a search that would return hundreds of result. Its a search over extracts of websites of the companies we list. We have the ID (usually max of 10 will be used at each search) of the companies which are used to bring the extracts (each ID my have hundreds of ex

Re: colapsing the result by a given field

2006-03-12 Thread Chris Hostetter
: What would be the easiest to achieve that? The easiest way is to do the search 10 times, and use either a Filter or a BooleanQuery with a mandatory companyId:XXX clause in each to restrict the results. Which appraoch you take depends on how many total companies might be used over time, and wet