diff options
author | Arne H Juul <arnej@yahooinc.com> | 2022-03-03 12:30:37 +0000 |
---|---|---|
committer | Arne H Juul <arnej@yahooinc.com> | 2022-03-03 14:05:19 +0000 |
commit | 4624468f898d89bb8925f5b55304dab54e93fb01 (patch) | |
tree | f5a11b73f2b922a7443fe79f95fef393207c11f1 /config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation | |
parent | fd48b501a984290f28b35d8be1ee5a0512b25814 (diff) |
unify enums
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation')
-rw-r--r-- | config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/MatchOperation.java | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/MatchOperation.java b/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/MatchOperation.java index d6e3a898420..322f26bc0e3 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/MatchOperation.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/fieldoperation/MatchOperation.java @@ -2,7 +2,9 @@ package com.yahoo.searchdefinition.fieldoperation; import com.yahoo.searchdefinition.document.Case; +import com.yahoo.searchdefinition.document.MatchAlgorithm; import com.yahoo.searchdefinition.document.Matching; +import com.yahoo.searchdefinition.document.MatchType; import com.yahoo.searchdefinition.document.SDField; /** @@ -10,14 +12,14 @@ import com.yahoo.searchdefinition.document.SDField; */ public class MatchOperation implements FieldOperation { - private Matching.Type matchingType; + private MatchType matchingType; private Case casing; private Integer gramSize; private Integer maxLength; - private Matching.Algorithm matchingAlgorithm; + private MatchAlgorithm matchingAlgorithm; private String exactMatchTerminator; - public void setMatchingType(Matching.Type matchingType) { + public void setMatchingType(MatchType matchingType) { this.matchingType = matchingType; } @@ -28,7 +30,7 @@ public class MatchOperation implements FieldOperation { this.maxLength = maxLength; } - public void setMatchingAlgorithm(Matching.Algorithm matchingAlgorithm) { + public void setMatchingAlgorithm(MatchAlgorithm matchingAlgorithm) { this.matchingAlgorithm = matchingAlgorithm; } |