public RootGroup getRoot() {
        return root;
    }
Returns the root {@link RootGroup} that was created when {@link #build()} was called.

@return the root that was built
container-search/src/main/java/com/yahoo/search/grouping/vespa/ResultBuilder.java