diff --git a/lucene/src/test-framework/org/apache/lucene/search/QueryUtils.java b/lucene/src/test-framework/org/apache/lucene/search/QueryUtils.java index 4b15bf4ad35..4823af55520 100644 --- a/lucene/src/test-framework/org/apache/lucene/search/QueryUtils.java +++ b/lucene/src/test-framework/org/apache/lucene/search/QueryUtils.java @@ -162,7 +162,7 @@ public class QueryUtils { emptyReaders[0], 0 < edge ? r : emptyReaders[0]) }; - IndexSearcher out = LuceneTestCase.newSearcher(new MultiReader(readers), false); + IndexSearcher out = LuceneTestCase.newSearcher(new MultiReader(readers)); out.setSimilarityProvider(s.getSimilarityProvider()); return out; }