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

#pragma once

namespace search::fef {

/**
 * Scoped and typesafe enum used to indicate the type of a field.
 **/
enum class FieldType {
    INDEX = 1,
    ATTRIBUTE = 2,
    HIDDEN_ATTRIBUTE = 3,
    VIRTUAL = 4
};

}