Class MainEndResultTransformer
java.lang.Object
org.apache.solr.search.grouping.endresulttransformer.MainEndResultTransformer
- All Implemented Interfaces:
EndResultTransformer
Implementation of
EndResultTransformer that transforms the grouped result into the main
result list in the response.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.solr.search.grouping.endresulttransformer.EndResultTransformer
EndResultTransformer.SolrDocumentSource -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidtransform(Map<String, ?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource) Transforms the specified result into its final form and puts it into the specified response.
-
Constructor Details
-
MainEndResultTransformer
public MainEndResultTransformer()
-
-
Method Details
-
transform
public void transform(Map<String, ?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource) Description copied from interface:EndResultTransformerTransforms the specified result into its final form and puts it into the specified response.- Specified by:
transformin interfaceEndResultTransformer- 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 specificationsolrDocumentSource- The source ofSolrDocumentinstances
-