summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/searchdefinition/document/Case.java
blob: 0fbee339b97bad14bd632c5403de89198fde1ce9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright Verizon Media. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
package com.yahoo.searchdefinition.document;

/**
 * Describes if items should preserve lower/upper case, or shall be uncased
 * which normally mean they are all normalized to lowercase.
 * @author baldersheim
 */
public enum Case {
    CASED("cased"),
    UNCASED("uncased");
    private String name;
    Case(String name) { this.name = name; }
    public String getName() { return name;}
}