fix for result counter logging

pull/1/head
Michael Peter Christen 12 years ago
parent 298bf2deb5
commit ac5fa9fe48

@ -195,7 +195,7 @@ public class EmbeddedSolrConnector extends SolrServerConnector implements SolrCo
rsp = this.server.query(params);
}
if (q != null) Thread.currentThread().setName(threadname);
if (rsp != null) log.info(rsp.getResults().size() + " results for q=" + q);
if (rsp != null) log.info(rsp.getResults().getNumFound() + " results for q=" + q);
return rsp;
} catch (SolrServerException e) {
throw new IOException(e);

Loading…
Cancel
Save