@Override
    public Result search(Query query, Execution execution)  {
        queryCount++;
        Result r = unFilledResults.get(getQueryKeyClone(query));
        if (r == null)
            r = defaultFilledResult.clone();
        else
            r = r.clone();

        r.setQuery(query);
        r.hits().trim(query.getOffset(), query.getHits());
        query.setOffset(0);
        return r;
    }
Adds a result which can be searched for and filled.
Summary fields starting by "a" are attributes, others are not.

@return true when replacing an existing &lt;query, result&gt; pair.
container-search/src/main/java/com/yahoo/search/searchchain/testutil/DocumentSourceSearcher.java