mirror of https://github.com/apache/lucene.git
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:
parent
950f85b39c
commit
d486144782
|
@ -177,4 +177,13 @@ public class DirectSolrConnection
|
||||||
responseWriter.write(out, req, rsp);
|
responseWriter.write(out, req, rsp);
|
||||||
return out.toString();
|
return out.toString();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Use this method to close the underlying SolrCore.
|
||||||
|
*
|
||||||
|
* @since solr 1.3
|
||||||
|
*/
|
||||||
|
public void close() {
|
||||||
|
core.close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue