if (log.getDialect().getFieldProvider().getTimestampField() == null) {
// We have no barrier timestamp, so perform truncate to avoid duplicates
truncate(log, writer);
collector.addMessage(new Status(IStatus.INFO, IndexPlugin.PLUGIN_ID,
Messages.LuceneIndexService_info_autoTruncate_noTimestampField));
} else if (!hasDateComponent(log)) {
// The date format only contains time components, so perform truncate to avoid duplicates
truncate(log, writer);