blob: f0c849adcddefa3932919eb15696b23ada727f95 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "idocumentstore.h"
#include <vespa/document/fieldvalue/document.h>
namespace search {
void IDocumentStore::visit(const LidVector & lids, const document::DocumentTypeRepo &repo, IDocumentVisitor & visitor) const {
for (uint32_t lid : lids) {
visitor.visit(lid, read(lid, repo));
}
}
} // namespace search
|