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:
Yonik Seeley 2008-10-29 20:28:02 +00:00
parent 19c70e9df5
commit fbf5c2fc46
1 changed files with 3 additions and 1 deletions

View File

@ -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 {