blob: 99dded82eb40d66eb835d3084b7980d64a2e31ce (
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 "docsum_field_writer.h"
namespace search::docsummary {
/*
* Class for writing document id field.
*/
class DocumentIdDFW : public DocsumFieldWriter
{
private:
public:
DocumentIdDFW();
~DocumentIdDFW() override;
bool isGenerated() const override { return false; }
void insertField(uint32_t docid, const IDocsumStoreDocument* doc, GetDocsumsState& state, vespalib::slime::Inserter &target) const override;
};
}
|