public List<String> getErrors() {
        if (errors.isEmpty() && !coprocessors.getErrorConsumer().hasErrors()) {
            return Collections.emptyList();
        }

        final List<String> err = new ArrayList<>();
        for (final Entry<String, ErrorConsumer> entry : errors.entrySet()) {
            final String nodeName = entry.getKey();
            final ErrorConsumer errorConsumer = entry.getValue();
            final List<String> errors = errorConsumer.getErrors();

            if (!errors.isEmpty()) {
                err.add("Node: " + nodeName);
                for (final String error : errors) {
                    err.add("\t" + error);
                }
            }
        }
        // Add any errors from the coprocessors
        err.addAll(coprocessors.getErrorConsumer().getErrors());

        return err;
    }
Stop searching and destroy any stored data.
stroom-query/stroom-query-common/src/main/java/stroom/query/common/v2/ResultStore.java