blob: 3dd977a3bc0335f6ad82be7fc571f4f105e84835 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
#include "field_spec.h"
#include <vespa/searchlib/fef/matchdata.h>
namespace search::queryeval {
inline fef::TermFieldMatchData *
FieldSpecBase::resolve(fef::MatchData &md) const {
return md.resolveTermField(getHandle());
}
inline const fef::TermFieldMatchData *
FieldSpecBase::resolve(const fef::MatchData &md) const {
return md.resolveTermField(getHandle());
}
}
|