diff --git a/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java b/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java index c77048a63..d5e33597d 100644 --- a/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java +++ b/search-services/alfresco-search/src/main/java/org/alfresco/solr/SolrInformationServer.java @@ -2060,7 +2060,7 @@ public class SolrInformationServer implements InformationServer if (nodesMetaDataFromRepository.isEmpty()) { // Using exception for flow handling to jump to single node processing. - throw new Exception("Error loading node metadata from repository for bulk delete."); + throw new Exception("Error loading node metadata from repository for bulk update."); } NEXT_NODE: @@ -2124,7 +2124,7 @@ public class SolrInformationServer implements InformationServer } catch (Exception e) { - LOGGER.error(" Bulk indexing failed, do one node at a time. See the stacktrace below for further details.", e); + LOGGER.error("Bulk indexing failed, do one node at a time. See the stacktrace below for further details.", e); for (Node node : nodes) { this.indexNode(node, true); diff --git a/search-services/alfresco-solrclient-lib/src/main/java/org/alfresco/solr/client/SOLRAPIClient.java b/search-services/alfresco-solrclient-lib/src/main/java/org/alfresco/solr/client/SOLRAPIClient.java index 233905369..b83aca2bc 100644 --- a/search-services/alfresco-solrclient-lib/src/main/java/org/alfresco/solr/client/SOLRAPIClient.java +++ b/search-services/alfresco-solrclient-lib/src/main/java/org/alfresco/solr/client/SOLRAPIClient.java @@ -492,7 +492,7 @@ public class SOLRAPIClient { String message = "Received a malformed JSON payload. Request was \"" + req.getFullUri() + - "Data: " + "\" Data: " + ofNullable(reader) .map(LookAheadBufferedReader::lookAheadAndGetBufferedContent) .orElse("Not available"); @@ -1156,7 +1156,7 @@ public class SOLRAPIClient { String message = "Received a malformed JSON payload. Request was \"" + get.getFullUri() + - "Data: " + "\" Data: " + ofNullable(reader) .map(LookAheadBufferedReader::lookAheadAndGetBufferedContent) .orElse("Not available"); @@ -1214,7 +1214,7 @@ public class SOLRAPIClient { String message = "Received a malformed JSON payload. Request was \"" + get.getFullUri() + - "Data: " + "\" Data: " + ofNullable(reader) .map(LookAheadBufferedReader::lookAheadAndGetBufferedContent) .orElse("Not available"); @@ -1609,7 +1609,7 @@ public class SOLRAPIClient { String message = "Received a malformed JSON payload. Request was \"" + req.getFullUri() + - "Data: " + "\" Data: " + ofNullable(reader) .map(LookAheadBufferedReader::lookAheadAndGetBufferedContent) .orElse("Not available");