aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/fef/fieldtype.h
blob: 23f129ac55ba9989caf7821743c92547cda7dd1b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Copyright Vespa.ai. 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
};

}