blob: d578bb1bd92d0f87f313e18d1aa9a99de9221ea6 (
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 "simple_dfw.h"
namespace search::docsummary {
/*
* Class for writing empty document summaries.
*/
class EmptyDFW : public SimpleDFW
{
public:
EmptyDFW();
~EmptyDFW() override;
bool isGenerated() const override { return true; }
void insertField(uint32_t docid, GetDocsumsState& state, vespalib::slime::Inserter &target) const override;
};
}
|