Log completion message after all queries are executed. Moving it out of the for loop.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@699618 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2008-09-27 11:21:13 +00:00
parent 774153b891
commit ef87edc8ae
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ class QuerySenderListener extends AbstractSolrEventListener {
public QuerySenderListener(SolrCore core) {
super(core);
}
@Override
public void newSearcher(SolrIndexSearcher newSearcher, SolrIndexSearcher currentSearcher) {
final SolrIndexSearcher searcher = newSearcher;
@ -69,8 +69,8 @@ class QuerySenderListener extends AbstractSolrEventListener {
// do nothing... we want to continue with the other requests.
// the failure should have already been logged.
}
log.info("QuerySenderListener done.");
}
log.info("QuerySenderListener done.");
}