blob: 4283f4db6944aace3340dce31072a0778a497f5d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "document_id_dfw.h"
#include "i_docsum_store_document.h"
namespace search::docsummary {
DocumentIdDFW::DocumentIdDFW() = default;
DocumentIdDFW::~DocumentIdDFW() = default;
void
DocumentIdDFW::insertField(uint32_t, const IDocsumStoreDocument* doc, GetDocsumsState&,
vespalib::slime::Inserter &target) const
{
if (doc != nullptr) {
doc->insert_document_id(target);
}
}
}
|