mirror of https://github.com/apache/lucene.git
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:
parent
49a83c536e
commit
c6b077ee4c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue