SOLR-1117 -- QueryElevationComponent should call core.getNewestSearcher(false) instead of core.getNewestSearcher(true)

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@765557 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Shalin Shekhar Mangar 2009-04-16 10:08:10 +00:00
parent 49a83c536e
commit c6b077ee4c
1 changed files with 1 additions and 1 deletions

View File

@ -187,7 +187,7 @@ public class QueryElevationComponent extends SearchComponent implements SolrCore
// preload the first data
RefCounted<SolrIndexSearcher> searchHolder = null;
try {
searchHolder = core.getNewestSearcher(true);
searchHolder = core.getNewestSearcher(false);
IndexReader reader = searchHolder.get().getReader();
getElevationMap( reader, core );
} finally {