lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Whitman <>
Subject Re: Group results by field?
Date Wed, 02 May 2007 22:57:52 GMT
On May 2, 2007, at 6:55 PM, Matthew Runo wrote:

> I was wondering - is it possible to search and group the results by  
> a given field?
> For example, I have an index with several million records. Most of  
> them are different sizes of the same style_id.
> I'd love to be able to do.. or something like  
> that in the results, and provide the style_id as a clickable link  
> to see all the sizes of that style.

As far as I know there's no in-Solr grouping mechanism. But we use  
the XSLTResponseWriter for this: (look near the bottom)

View raw message