Ahh, ok.

I'll check out Saxon-B and XSLT templates.

+--------------------------------------------------------+
 | Matthew Runo
 | Zappos Development
 | [EMAIL PROTECTED]
 | 702-943-7833
+--------------------------------------------------------+


On May 2, 2007, at 3:57 PM, Brian Whitman wrote:

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.. group.by=style_id 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:

http://wiki.apache.org/solr/XsltResponseWriter (look near the bottom)




Reply via email to