blob: 6826b2d0d4b7d160b91880954476ae1da0c48341 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "document.h"
namespace vsm {
/**
Will represent a cache of the document summaries. -> Actual docsums will be
generated on the fly when requested. A document summary is accessed by its
documentId.
*/
class IDocSumCache
{
public:
virtual const Document & getDocSum(const search::DocumentIdT & docId) const = 0;
virtual ~IDocSumCache() { }
};
}
|