From 9aa764a54f50eca5a8ef805bdb29e4ad90fcce5e Mon Sep 17 00:00:00 2001 From: Noble Paul Date: Tue, 18 Oct 2016 21:09:42 +0530 Subject: [PATCH] * SOLR-9506: cache IndexFingerprint for each segment --- .../core/src/java/org/apache/solr/search/SolrIndexSearcher.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 59797b9bc91..02069ee3c1a 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;