summaryrefslogtreecommitdiffstats
path: root/config-model/src/main/java/com/yahoo/searchdefinition/document/Matching.java
diff options
context:
space:
mode:
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/document/Matching.java')
-rw-r--r--config-model/src/main/java/com/yahoo/searchdefinition/document/Matching.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/document/Matching.java b/config-model/src/main/java/com/yahoo/searchdefinition/document/Matching.java
index e10d313bd27..e2c036c2444 100644
--- a/config-model/src/main/java/com/yahoo/searchdefinition/document/Matching.java
+++ b/config-model/src/main/java/com/yahoo/searchdefinition/document/Matching.java
@@ -35,6 +35,7 @@ public class Matching implements Cloneable, Serializable {
}
private Type type = Type.TEXT;
+ private Case casing = Case.UNCASED;
/** The basic match algorithm */
private Algorithm algorithm = Algorithm.NORMAL;
@@ -59,12 +60,15 @@ public class Matching implements Cloneable, Serializable {
}
public Type getType() { return type; }
+ public Case getCase() { return casing; }
public void setType(Type type) {
this.type = type;
typeUserSet = true;
}
+ public void setCase(Case casing) { this.casing = casing; }
+
public Integer maxLength() { return maxLength; }
public Matching maxLength(int maxLength) { this.maxLength = maxLength; return this; }
public boolean isTypeUserSet() { return typeUserSet; }