We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8085ec5 commit 100a7b1Copy full SHA for 100a7b1
core/src/main/java/org/elasticsearch/index/query/TermsQueryBuilder.java
@@ -422,7 +422,7 @@ protected Query doToQuery(QueryShardContext context) throws IOException {
422
throw new IllegalArgumentException(
423
"The number of terms [" + values.size() + "] used in the Terms Query request has exceeded " +
424
"the allowed maximum of [" + maxTermsCount + "]. " + "This maximum can be set by changing the [" +
425
- IndexSettings.MAX_TOKEN_COUNT_SETTING.getKey() + "] index level setting.");
+ IndexSettings.MAX_TERMS_COUNT_SETTING.getKey() + "] index level setting.");
426
}
427
MappedFieldType fieldType = context.fieldMapper(fieldName);
428
0 commit comments