adding a 'close' method to DirectSolrConnection. SOLR-212

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@561922 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Ryan McKinley 2007-08-01 19:13:26 +00:00
parent 950f85b39c
commit d486144782
1 changed files with 9 additions and 0 deletions

View File

@ -177,4 +177,13 @@ public class DirectSolrConnection
responseWriter.write(out, req, rsp);
return out.toString();
}
/**
* Use this method to close the underlying SolrCore.
*
* @since solr 1.3
*/
public void close() {
core.close();
}
}