aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/document/MatchType.java
blob: c1198412046de188f7cb415c424701e16e114840 (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.
package com.yahoo.schema.document;

public enum MatchType {

    TEXT("text"),
    WORD("word"),
    EXACT("exact"),
    GRAM("gram");

    private final String name;

    MatchType(String name) { this.name = name; }

    public String getName() { return name; }

}