blob: a2599ef38b691aac7238d8727581203357765d08 (
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 "field_spec.h"
#include <cassert>
namespace search::queryeval {
FieldSpec::FieldSpec(const vespalib::string & name, uint32_t fieldId, fef::TermFieldHandle handle) noexcept
: FieldSpec(name, fieldId, handle, false)
{}
FieldSpec::FieldSpec(const vespalib::string & name, uint32_t fieldId,
fef::TermFieldHandle handle, bool isFilter_) noexcept
: FieldSpecBase(fieldId, handle, isFilter_),
_name(name)
{
assert(fieldId < 0x1000000); // Can be represented by 24 bits
}
FieldSpecBaseList::~FieldSpecBaseList() = default;
FieldSpecList::~FieldSpecList() = default;
FieldSpec::~FieldSpec() = default;
}
|