blob: d8897f4da1edb7b180893e908161363d38642071 (
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/query/tree/node.h>
namespace proton::matching {
/**
* Unpacking iterators are indirectly optimized by augmenting the
* query tree and by tagging appropriate query tree nodes as
* expensive.
**/
struct UnpackingIteratorsOptimizer {
static search::query::Node::UP optimize(search::query::Node::UP root,
bool has_white_list,
bool split_unpacking_iterators);
};
}
|