public Result search(Query query) throws IOException {
        sendSearchRequest(query, null);
        InvokerResult result = getSearchResult();
        setFinalStatus(result.getResult().hits().getError() == null);
        result.complete();
        return result.getResult();
    }
Retrieve the hits for the given {@link Query}. If the search is run on multiple content
nodes, the provided {@link Execution} may be used to retrieve document summaries required
for correct result windowing.
container-search/src/main/java/com/yahoo/search/dispatch/SearchInvoker.java