fixed log
This commit is contained in:
parent
f1e3de1b07
commit
19ebb63d88
|
@ -355,7 +355,7 @@ public class GraphDBClient {
|
||||||
recordsIndexReport = runSPQRLQuery.executeMultipleQueryGraph(queryTemplate, recordIds, datasource, collectionId, false);
|
recordsIndexReport = runSPQRLQuery.executeMultipleQueryGraph(queryTemplate, recordIds, datasource, collectionId, false);
|
||||||
}
|
}
|
||||||
List<String> collectionResourceIds = runSPQRLQuery.selectCollectionIds(datasource, collectionId);
|
List<String> collectionResourceIds = runSPQRLQuery.selectCollectionIds(datasource, collectionId);
|
||||||
log.info(String.format("Found %d collections to index for datasource %s - %s", recordIds.size(), datasource, collectionId));
|
log.info(String.format("Found %d collections to index for datasource %s - %s", collectionResourceIds.size(), datasource, collectionId));
|
||||||
if(!collectionResourceIds.isEmpty()) {
|
if(!collectionResourceIds.isEmpty()) {
|
||||||
final ClassPathResource selectCollectionTemplateRes = new ClassPathResource("eu/dnetlib/ariadneplus/sparql/read_collection_data_template.sparql");
|
final ClassPathResource selectCollectionTemplateRes = new ClassPathResource("eu/dnetlib/ariadneplus/sparql/read_collection_data_template.sparql");
|
||||||
String selectCollectionTemplate = IOUtils.toString(selectCollectionTemplateRes.getInputStream(), StandardCharsets.UTF_8.name());
|
String selectCollectionTemplate = IOUtils.toString(selectCollectionTemplateRes.getInputStream(), StandardCharsets.UTF_8.name());
|
||||||
|
|
Loading…
Reference in New Issue