aboutsummaryrefslogtreecommitdiffstats
path: root/config-model
diff options
context:
space:
mode:
authorGeir Storli <geirst@vespa.ai>2024-05-06 15:32:28 +0200
committerGitHub <noreply@github.com>2024-05-06 15:32:28 +0200
commit720340af2f007b858c6fe905a181e1b8f70dad05 (patch)
treead57be8a2751cb676400db147dfb1f1a5aae3064 /config-model
parent76554d31b3b865ed6095aee8fe67168ea0571368 (diff)
parent2a08cdf582e5bbd361863e8e7bf27048e8b00389 (diff)
Merge pull request #31119 from vespa-engine/toregge/rename-max-token-length-to-max-tokenize-length-in-linguistics-annotator-config
Rename max token length to max tokenize length in linguistics annotator
Diffstat (limited to 'config-model')
-rw-r--r--config-model/src/main/java/com/yahoo/schema/processing/TextMatch.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/config-model/src/main/java/com/yahoo/schema/processing/TextMatch.java b/config-model/src/main/java/com/yahoo/schema/processing/TextMatch.java
index e29f683761f..1ff019038fc 100644
--- a/config-model/src/main/java/com/yahoo/schema/processing/TextMatch.java
+++ b/config-model/src/main/java/com/yahoo/schema/processing/TextMatch.java
@@ -64,7 +64,7 @@ public class TextMatch extends Processor {
if (fieldMatching != null) {
var maxLength = fieldMatching.maxLength();
if (maxLength != null) {
- ret.setMaxTokenLength(maxLength);
+ ret.setMaxTokenizeLength(maxLength);
}
var maxTermOccurrences = fieldMatching.maxTermOccurrences();
if (maxTermOccurrences != null) {