mirror of https://github.com/apache/lucene.git
javadoc core.getSearcher()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@708999 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
19c70e9df5
commit
fbf5c2fc46
|
@ -876,7 +876,9 @@ public final class SolrCore implements SolrInfoMBean {
|
|||
* Return a registered {@link RefCounted}<{@link SolrIndexSearcher}> with
|
||||
* the reference count incremented. It <b>must</b> be decremented when no longer needed.
|
||||
* This method should not be called from SolrCoreAware.inform() since it can result
|
||||
* in a deadlock if useColdSearcher==false.
|
||||
* in a deadlock if useColdSearcher==false.
|
||||
* If handling a normal request, the searcher should be obtained from
|
||||
* {@link org.apache.solr.request.SolrQueryRequest#getSearcher()} instead.
|
||||
*/
|
||||
public RefCounted<SolrIndexSearcher> getSearcher() {
|
||||
try {
|
||||
|
|
Loading…
Reference in New Issue