aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/fef/test/plugin/setup.cpp
blob: 57f55c7dfee20a177b7cecf919c88ad06baeb401 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "setup.h"
#include "cfgvalue.h"
#include "chain.h"
#include "double.h"
#include "query.h"
#include "staticrank.h"
#include "sum.h"
#include "unbox.h"

namespace search::fef::test {

void setup_fef_test_plugin(IBlueprintRegistry & registry)
{
    // register blueprints
    registry.addPrototype(std::make_shared<DoubleBlueprint>());
    registry.addPrototype(std::make_shared<SumBlueprint>());
    registry.addPrototype(std::make_shared<StaticRankBlueprint>());
    registry.addPrototype(std::make_shared<ChainBlueprint>());
    registry.addPrototype(std::make_shared<CfgValueBlueprint>());
    registry.addPrototype(std::make_shared<QueryBlueprint>());
    registry.addPrototype(std::make_shared<UnboxBlueprint>());
}

} // namespace search::fef::test