From 90507c0fdcbf617a9e1491642551d60f706f9e72 Mon Sep 17 00:00:00 2001 From: sgaebel Date: Mon, 4 Oct 2021 18:03:06 +0200 Subject: [PATCH] comments out printing query params to std.out --- .../solr/connector/EmbeddedSolrConnector.java | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/source/net/yacy/cora/federate/solr/connector/EmbeddedSolrConnector.java b/source/net/yacy/cora/federate/solr/connector/EmbeddedSolrConnector.java index 5d317a0be..b2abffce5 100644 --- a/source/net/yacy/cora/federate/solr/connector/EmbeddedSolrConnector.java +++ b/source/net/yacy/cora/federate/solr/connector/EmbeddedSolrConnector.java @@ -125,20 +125,16 @@ public class EmbeddedSolrConnector extends SolrServerConnector implements SolrCo public void clearCaches() { final SolrConfig solrConfig = this.core.getSolrConfig(); @SuppressWarnings("unchecked") - final - SolrCache fieldValueCache = solrConfig.fieldValueCacheConfig == null ? null : solrConfig.fieldValueCacheConfig.newInstance(); + final SolrCache fieldValueCache = solrConfig.fieldValueCacheConfig == null ? null : solrConfig.fieldValueCacheConfig.newInstance(); if (fieldValueCache != null) fieldValueCache.clear(); @SuppressWarnings("unchecked") - final - SolrCache filterCache= solrConfig.filterCacheConfig == null ? null : solrConfig.filterCacheConfig.newInstance(); + final SolrCache filterCache= solrConfig.filterCacheConfig == null ? null : solrConfig.filterCacheConfig.newInstance(); if (filterCache != null) filterCache.clear(); @SuppressWarnings("unchecked") - final - SolrCache queryResultCache = solrConfig.queryResultCacheConfig == null ? null : solrConfig.queryResultCacheConfig.newInstance(); + final SolrCache queryResultCache = solrConfig.queryResultCacheConfig == null ? null : solrConfig.queryResultCacheConfig.newInstance(); if (queryResultCache != null) queryResultCache.clear(); @SuppressWarnings("unchecked") - final - SolrCache documentCache = solrConfig.documentCacheConfig == null ? null : solrConfig.documentCacheConfig.newInstance(); + final SolrCache documentCache = solrConfig.documentCacheConfig == null ? null : solrConfig.documentCacheConfig.newInstance(); if (documentCache != null) documentCache.clear(); } @@ -332,7 +328,7 @@ public class EmbeddedSolrConnector extends SolrServerConnector implements SolrCo //System.out.println("EmbeddedSolrConnector.getResponseByParams * QUERY: " + ql); System.out.println("STACKTRACE: " + ConcurrentLog.stackTrace()); QueryResponse rsp; try { - System.out.println("*** PARAMS: " + params); + // System.out.println("*** PARAMS: " + params); rsp = this.server.query(params); Thread.currentThread().setName(threadname); if (rsp != null) if (log.isFine()) log.fine(rsp.getResults().getNumFound() + " results for " + ql);