mirror of https://github.com/apache/lucene.git
SOLR-5629: SolrIndexSearcher.name should include core name
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1565138 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
462131403a
commit
b436fd64cb
|
@ -366,6 +366,9 @@ Other Changes
|
|||
* SOLR-5684: Shutdown SolrServer clients created in BasicDistributedZk2Test and
|
||||
BasicDistributedZkTest. (Tomás Fernández Löbbe via shalin)
|
||||
|
||||
* SOLR-5629: SolrIndexSearcher.name should include core name.
|
||||
(Shikhar Bhushan via shalin)
|
||||
|
||||
================== 4.6.1 ==================
|
||||
|
||||
Versions of Major Components
|
||||
|
|
|
@ -196,7 +196,7 @@ public class SolrIndexSearcher extends IndexSearcher implements Closeable,SolrIn
|
|||
this.atomicReader = SlowCompositeReaderWrapper.wrap(this.reader);
|
||||
this.core = core;
|
||||
this.schema = schema;
|
||||
this.name = "Searcher@" + Integer.toHexString(hashCode()) + (name!=null ? " "+name : "");
|
||||
this.name = "Searcher@" + Integer.toHexString(hashCode()) + "[" + core.getName() + "]" + (name != null ? " " + name : "");
|
||||
log.info("Opening " + this.name);
|
||||
|
||||
if (directoryFactory.searchersReserveCommitPoints()) {
|
||||
|
|
Loading…
Reference in New Issue