lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cpoersc...@apache.org
Subject [05/50] [abbrv] lucene-solr:jira/solr-8542-v2: * SOLR-9506: cache IndexFingerprint for each segment
Date Mon, 24 Oct 2016 18:32:09 GMT
* SOLR-9506: cache IndexFingerprint for each segment


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/9aa764a5
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/9aa764a5
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/9aa764a5

Branch: refs/heads/jira/solr-8542-v2
Commit: 9aa764a54f50eca5a8ef805bdb29e4ad90fcce5e
Parents: fe17b4e
Author: Noble Paul <noble.paul@gmail.com>
Authored: Tue Oct 18 21:09:42 2016 +0530
Committer: Noble Paul <noble.paul@gmail.com>
Committed: Tue Oct 18 21:09:42 2016 +0530

----------------------------------------------------------------------
 solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/9aa764a5/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java
----------------------------------------------------------------------
diff --git a/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java b/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java
index 59797b9..02069ee 100644
--- a/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java
+++ b/solr/core/src/java/org/apache/solr/search/SolrIndexSearcher.java
@@ -277,7 +277,7 @@ public class SolrIndexSearcher extends IndexSearcher implements Closeable,
SolrI
 
     this.path = path;
     this.directoryFactory = directoryFactory;
-    this.reader = (DirectoryReader) super.getTopReaderContext().reader();
+    this.reader = (DirectoryReader) super.readerContext.reader();
     this.rawReader = r;
     this.leafReader = SlowCompositeReaderWrapper.wrap(this.reader);
     this.core = core;


Mime
View raw message