public class MainEndResultTransformer extends Object implements EndResultTransformer
EndResultTransformer
that transforms the grouped result into the main result list in the
response.EndResultTransformer.SolrDocumentSource
Constructor and Description |
---|
MainEndResultTransformer() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void transform(Map<String,?> result, ResponseBuilder rb, EndResultTransformer.SolrDocumentSource solrDocumentSource)
transform
in interface EndResultTransformer
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 of SolrDocument
instancesCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.