org.apache.solr.search.grouping.endresulttransformer
Class GroupedEndResultTransformer

java.lang.Object
  extended by org.apache.solr.search.grouping.endresulttransformer.GroupedEndResultTransformer
All Implemented Interfaces:
EndResultTransformer

public class GroupedEndResultTransformer
extends Object
implements EndResultTransformer


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.solr.search.grouping.endresulttransformer.EndResultTransformer
EndResultTransformer.SolrDocumentSource
 
Constructor Summary
GroupedEndResultTransformer(SolrIndexSearcher searcher)
           
 
Method Summary
 void transform(Map<String,?> result, SolrQueryResponse response, GroupingSpecification groupingSpecification, EndResultTransformer.SolrDocumentSource solrDocumentSource)
          Transforms the specified result into its final form and puts it into the specified response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GroupedEndResultTransformer

public GroupedEndResultTransformer(SolrIndexSearcher searcher)
Method Detail

transform

public void transform(Map<String,?> result,
                      SolrQueryResponse response,
                      GroupingSpecification groupingSpecification,
                      EndResultTransformer.SolrDocumentSource solrDocumentSource)
Description copied from interface: EndResultTransformer
Transforms the specified result into its final form and puts it into the specified response.

Specified by:
transform in interface EndResultTransformer
Parameters:
result - The map containing the grouping result (for grouping by field and query)
response - The response that will be rendered to the client
groupingSpecification - The grouping specification
solrDocumentSource - The source of SolrDocument instances


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