org.apache.solr.search.grouping.endresulttransformer
Interface EndResultTransformer

All Known Implementing Classes:
GroupedEndResultTransformer, MainEndResultTransformer, SimpleEndResultTransformer

public interface EndResultTransformer

Responsible for transforming the grouped result into the final format for displaying purposes.

WARNING: This API is experimental and might change in incompatible ways in the next release.

Nested Class Summary
static interface EndResultTransformer.SolrDocumentSource
          Abstracts the source for SolrDocument instances.
 
Method Summary
 void transform(Map<String,?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource)
          Transforms the specified result into its final form and puts it into the specified response.
 

Method Detail

transform

void transform(Map<String,?> result,
               ResponseBuilder rb,
               EndResultTransformer.SolrDocumentSource solrDocumentSource)
Transforms the specified result into its final form and puts it into the specified response.

Parameters:
result - The map containing the grouping result (for grouping by field and query)
rb - The response builder containing the response used to render the result and the grouping specification
solrDocumentSource - The source of SolrDocument instances


Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.