mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
try to fix problem
with error description http://forum.yacy-websuche.de/viewtopic.php?f=5&t=6023&p=33889&sid=37bc7aa029422be571b9266cdef43c52#p33889
This commit is contained in:
parent
41616de0b8
commit
2314f8e358
|
@ -330,7 +330,8 @@ public class EmbeddedSolrConnector extends SolrServerConnector implements SolrCo
|
|||
if (this.server == null) throw new IOException("server disconnected");
|
||||
// during the solr query we set the thread name to the query string to get more debugging info in thread dumps
|
||||
String threadname = Thread.currentThread().getName();
|
||||
String ql = ""; try {ql = URLDecoder.decode(params.toString(), StandardCharsets.UTF_8.name());} catch (UnsupportedEncodingException e) {}
|
||||
String ql = "";
|
||||
try {ql = URLDecoder.decode(params.toString(), StandardCharsets.UTF_8.name());} catch (UnsupportedEncodingException|IllegalStateException e) {e.printStackTrace();}
|
||||
Thread.currentThread().setName("Embedded.getResponseByParams solr query: q=" + ql);
|
||||
ConcurrentLog.info("EmbeddedSolrConnector.getResponseByParams", "QUERY: " + ql);
|
||||
//System.out.println("EmbeddedSolrConnector.getResponseByParams * QUERY: " + ql); System.out.println("STACKTRACE: " + ConcurrentLog.stackTrace());
|
||||
|
|
Loading…
Reference in New Issue
Block a user