aboutsummaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/schema/document/MatchAlgorithm.java
blob: f4ef5893279613349c81dee6867a5295bfa32942 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.schema.document;

/** Which match algorithm is used by this matching setup */
public enum MatchAlgorithm {

    NORMAL("normal"),
    PREFIX("prefix"),
    SUBSTRING("substring"),
    SUFFIX("suffix");

    private final String name;

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

    public String getName() { return name; }

}