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.
transform
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.
- Parameters:
result
- The map containing the grouping result (for grouping by field and query)response
- The response that will be rendered to the clientgroupingSpecification
- The grouping specificationsolrDocumentSource
- The source of SolrDocument
instances
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.