You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* When the query was configured to return Long, it was returning Integer. The query has been changed to return Integer now. The code here is robust if that changes in the future.
logger.finest("Converted non-Long result to Long: " + result + " of type " + result.getClass().getName());
1451
+
} catch (NumberFormatExceptione) {
1452
+
logger.warning("Could not convert query result to Long: " + result);
1453
+
}
1454
+
}
1455
+
}
1456
+
}
1432
1457
logger.fine(
1433
1458
"We are indexing a draft version of a dataset that has a released version. We'll be checking file metadatas if they are exact clones of the released versions.");
1434
1459
} elseif (datasetVersion.isDraft()) {
@@ -1502,19 +1527,25 @@ public SolrInputDocuments toSolrDocs(IndexableDataset indexableDataset, Set<Long
1502
1527
if (indexThisMetadata && (isReleasedVersion || changedFileMetadataIds.contains(fileMetadata.getId()))) {
1503
1528
indexThisFile = true;
1504
1529
} elseif (indexThisMetadata) {
1530
+
// Draft version, file is not new or all file metadata matches the released version
1531
+
// The only thing left to check is variable-level metadata, index if there is a difference
1505
1532
logger.fine("Checking if this file metadata is a duplicate.");
0 commit comments