public synchronized void destroy() {
        terminate();

        if (LOGGER.isTraceEnabled()) {
            LOGGER.trace(() -> "destroy()", new RuntimeException("destroy"));
            LOGGER.trace(() -> "coprocessors.clear()");
        }

        coprocessors.clear();
    }
Stop searching and destroy any stored data.
stroom-query/stroom-query-common/src/main/java/stroom/query/common/v2/ResultStore.java