mirror of https://github.com/apache/lucene.git
SOLR-2353: SpellCheckCollator uses org.mortbay.log.Log for logging - via Sami Siren
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1070321 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
64b1c3ef1f
commit
23e9af6057
|
@ -29,7 +29,6 @@ import org.apache.solr.handler.component.ResponseBuilder;
|
|||
import org.apache.solr.handler.component.SearchComponent;
|
||||
import org.apache.solr.request.LocalSolrQueryRequest;
|
||||
import org.apache.solr.response.SolrQueryResponse;
|
||||
import org.mortbay.log.Log;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
@ -91,7 +90,7 @@ public class SpellCheckCollator {
|
|||
queryComponent.process(checkResponse);
|
||||
hits = (Integer) checkResponse.rsp.getToLog().get("hits");
|
||||
} catch (Exception e) {
|
||||
Log.warn("Exception trying to re-query to check if a spell check possibility would return any hits.", e);
|
||||
LOG.warn("Exception trying to re-query to check if a spell check possibility would return any hits.", e);
|
||||
} finally {
|
||||
checkResponse.req.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue