blob: f1d731eca4ce2a00b4cd17c93f15fbe61310ab77 (
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.
#include "fieldinfo.h"
namespace search::fef {
FieldInfo::FieldInfo(FieldType type_in, CollectionType collection_in,
const string &name_in, uint32_t id_in)
: _type(type_in),
_data_type(DataType::DOUBLE),
_collection(collection_in),
_name(name_in),
_id(id_in),
_isFilter(false),
_hasAttribute(type_in == FieldType::ATTRIBUTE)
{
}
}
|