blob: f1db05b814f86f08f1a4e9c5eb37d6f32189cde5 (
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 Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "isearchcontext.h"
#include <vespa/searchlib/query/tree/node.h>
#include <vespa/searchlib/queryeval/blueprint.h>
namespace search::queryeval { class IRequestContext; }
namespace proton::matching {
struct BlueprintBuilder {
/**
* Build a tree of blueprints from the query tree and inject
* blueprint meta-data back into corresponding query tree nodes.
*/
static search::queryeval::Blueprint::UP
build(const search::queryeval::IRequestContext & requestContext, search::query::Node &node, ISearchContext &context);
};
}
|