aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/fef/fieldinfo.cpp
blob: 52ef5729eca8d00015ecc4e29b9b25f2fdf74f18 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright Yahoo. 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)
{
}


}