Class MainEndResultTransformer

    • Constructor Detail

      • MainEndResultTransformer

        public MainEndResultTransformer()
    • Method Detail

      • transform

        public void transform​(Map<String,​?> result,
                              ResponseBuilder rb,
                              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)
        rb - The response builder containing the response used to render the result and the grouping specification
        solrDocumentSource - The source of SolrDocument instances