blob: 4b21d3c7a03a04d568a9eda72595302e04e34cad (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// Copyright Vespa.ai. 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; }
}
|