aboutsummaryrefslogtreecommitdiffstats
path: root/searchsummary/src/vespa/searchsummary/docsummary/idocsumenvironment.h
blob: a271a3d6d8e5c2c1d6e28ec24e5bd980e238a019 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include <vespa/searchlib/attribute/iattributemanager.h>

namespace juniper { class Juniper; }
namespace search::docsummary {

/**
 * Abstract view of information available to rewriters for generating docsum fields.
 **/
class IDocsumEnvironment {
public:
    virtual const search::IAttributeManager * getAttributeManager() const = 0;
    virtual const juniper::Juniper * getJuniper() const = 0;
    virtual ~IDocsumEnvironment() = default;
};

}