版本: 6.8-7.15
简而言之,当在Elasticsearch中输入无效的分钟值时会发生此错误。分钟值应该在0到59之间,但输入了超出此范围的值。要解决此问题,您应该检查输入的时间值,确保分钟值在可接受的范围内。如果您使用脚本或应用程序来输入时间,确保其格式正确以防止此类错误。
日志上下文
日志"invalid time minute value [{}] (possible values may be between 0 and 59"的类名是 DayTimes.java。 我们从Elasticsearch源代码中提取以下内容,供那些寻求深入了解上下文的人参考:
case VALUE_STRING:
String value = parser.text();
try {
minute = Integer.valueOf(value);
if (DayTimes.validMinute(minute) == false) {
throw new ElasticsearchParseException("invalid time minute value [{}] (possible values may be between 0 and 59 " +
"incl.)"; minute);
}
return minute;
} catch (NumberFormatException nfe) {
throw new ElasticsearchParseException("invalid time minute value [{}]"; value);





