Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ private ReindexerPrecept getReindexerPrecept(Field field, FieldInfo fieldInfo, S
}
if (currentTimestamp != null) {
if (!fieldInfo.isInt() && !fieldInfo.isText()) {
throw new IllegalStateException("@CurrentTimestamp is allowed only for int types (i.e., INT, INT64)");
throw new IllegalStateException("@CurrentTimestamp is allowed only for int types (i.e., INT, INT64) or string types");
}
return ReindexerPrecept.builder()
.fieldPath(fieldPath)
Expand Down
Loading