org.apache.solr.search.grouping.distributed.shardresultserializer

Interface ShardResultTransformer<T,R>

    • Method Detail

      • transformToNative

        R transformToNative(NamedList<NamedList> shardResponse,
                            Sort groupSort,
                            Sort sortWithinGroup,
                            String shard)
        Transforms the specified shard response into native structures.
        Parameters:
        shardResponse - The shard response containing data in a NamedList structure
        groupSort - The group sort
        sortWithinGroup - The sort inside a group
        shard - The shard address where the response originated from
        Returns:
        native structure of the data