diff options
author | Jon Bratseth <bratseth@gmail.com> | 2021-04-06 17:16:31 +0200 |
---|---|---|
committer | Jon Bratseth <bratseth@gmail.com> | 2021-04-06 17:16:31 +0200 |
commit | 6c9ad68c6d7e9c1f8be26a58b36e17e27b0c37bd (patch) | |
tree | 651e1ae2cde77dd57d9a44bc2de57998f535b5d9 /config-model/src/main/java/com/yahoo/searchdefinition/processing | |
parent | aaba78b6f46590c4326fefe205e51c9a026644f1 (diff) |
Improve error message
Diffstat (limited to 'config-model/src/main/java/com/yahoo/searchdefinition/processing')
-rw-r--r-- | config-model/src/main/java/com/yahoo/searchdefinition/processing/IndexingValues.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config-model/src/main/java/com/yahoo/searchdefinition/processing/IndexingValues.java b/config-model/src/main/java/com/yahoo/searchdefinition/processing/IndexingValues.java index 72777b7dfb4..7bc12dec331 100644 --- a/config-model/src/main/java/com/yahoo/searchdefinition/processing/IndexingValues.java +++ b/config-model/src/main/java/com/yahoo/searchdefinition/processing/IndexingValues.java @@ -51,9 +51,9 @@ public class IndexingValues extends Processor { protected boolean shouldConvert(Expression exp) { if (exp instanceof OutputExpression && mutatedBy != null) { throw newProcessException(search, field, - "Indexing expression '" + mutatedBy + "' modifies the value of the " + - "document field '" + field.getName() + "'. This is no longer supported -- " + - "declare such fields outside the document."); + "Indexing expression '" + mutatedBy + "' attempts to modify the value of the " + + "document field '" + field.getName() + "'. Use a field outside the document " + + "block instead."); } if (exp instanceof InputExpression && ((InputExpression)exp).getFieldName().equals(field.getName())) { mutatedBy = null; |