Skip to content

Commit cad5776

Browse files
committed
iter
1 parent 11af731 commit cad5776

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

x-pack/plugin/logsdb/src/main/java/org/elasticsearch/xpack/logsdb/patternedtext/PatternedTextFieldMapper.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ protected void parseCreateField(DocumentParserContext context) throws IOExceptio
231231
BytesRef templateBytes = new BytesRef(parts.template());
232232
if (templateBytes.length >= IndexWriter.MAX_TERM_LENGTH) {
233233
logger.error(
234-
"pattern text template is longer than allowed maximum term length.\n Template={}\n Original value:{}",
234+
"pattern text template is longer than allowed maximum term length.\n Template={}\n Original value={}",
235235
templateBytes,
236236
value
237237
);
@@ -243,8 +243,7 @@ protected void parseCreateField(DocumentParserContext context) throws IOExceptio
243243
+ "UTF8 encoding is longer than the max length "
244244
+ MAX_TERM_LENGTH
245245
+ "), all of which were "
246-
+ "skipped. Please correct the analyzer to not produce such terms. The prefix of the first immense "
247-
+ "term is: '"
246+
+ "skipped. The prefix of the first immense term is: '"
248247
+ Arrays.toString(prefix)
249248
+ "...'";
250249
throw new IllegalArgumentException(msg);

0 commit comments

Comments
 (0)