blob: 1e9f550ac6d4073173b5698502f2e47f159e2bcc (
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 <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 vespalib::string lookupIndex(const vespalib::string & s) const = 0;
virtual juniper::Juniper * getJuniper() = 0;
virtual ~IDocsumEnvironment() = default;
};
}
|