aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/fef/test/queryenvironment.cpp
blob: b7aab85205e404a4d23e31f57acdaf0926525372 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "queryenvironment.h"

namespace search::fef::test {

QueryEnvironment::QueryEnvironment(IndexEnvironment *env)
    : _indexEnv(env),
      _terms(),
      _properties(),
      _locations(),
      _attrCtx((env == nullptr) ? attribute::IAttributeContext::UP() : env->getAttributeMap().createContext())
{
}

QueryEnvironment::~QueryEnvironment() { }

}