diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2024-01-11 11:57:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-11 11:57:09 +0100 |
commit | c35da2bfe42797997cff3c6d42c491c5566698e7 (patch) | |
tree | 082dcddbd291840c0ec07b7a4e9065e0d91f98f8 /config-model/src/main/java/com/yahoo/schema/document | |
parent | 04d491286aa2a6f8b3a04048936419c6cde4e3ec (diff) | |
parent | 1a7e8a2eb5135d3cc04820770ced9aaa51374f89 (diff) |
Merge pull request #29844 from vespa-engine/balder/handle-cased-streaming-search
Balder/handle cased streaming search
Diffstat (limited to 'config-model/src/main/java/com/yahoo/schema/document')
-rw-r--r-- | config-model/src/main/java/com/yahoo/schema/document/Matching.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/document/Matching.java b/config-model/src/main/java/com/yahoo/schema/document/Matching.java index 0b542f134ad..9d68553fa80 100644 --- a/config-model/src/main/java/com/yahoo/schema/document/Matching.java +++ b/config-model/src/main/java/com/yahoo/schema/document/Matching.java @@ -46,12 +46,16 @@ public class Matching implements Cloneable, Serializable { public MatchType getType() { return type; } public Case getCase() { return casing; } - public void setType(MatchType type) { + public Matching setType(MatchType type) { this.type = type; typeUserSet = true; + return this; } - public void setCase(Case casing) { this.casing = casing; } + public Matching setCase(Case casing) { + this.casing = casing; + return this; + } public Integer maxLength() { return maxLength; } public Matching maxLength(int maxLength) { this.maxLength = maxLength; return this; } |