aboutsummaryrefslogtreecommitdiffstats
path: root/searchsummary/src/vespa/searchsummary/docsummary/summaryfeaturesdfw.h
blob: 535360d9661f8d09868eccf82beadf080f90083c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Yahoo. 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 SummaryFeaturesDFW : public SimpleDFW
{
public:
    SummaryFeaturesDFW();
    SummaryFeaturesDFW(const SummaryFeaturesDFW &) = delete;
    SummaryFeaturesDFW & operator=(const SummaryFeaturesDFW &) = delete;
    ~SummaryFeaturesDFW() override;
    bool isGenerated() const override { return true; }
    void insertField(uint32_t docid, GetDocsumsState& state,
                     vespalib::slime::Inserter &target) const override;
};

}