mirror of https://github.com/apache/lucene.git
pass wrap=false in queryutils temporarily, since we are causing insanity this way if the reader is already atomic
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1292063 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d462d03077
commit
2e2d3dac91
|
@ -166,7 +166,11 @@ public class QueryUtils {
|
|||
emptyReaders[0],
|
||||
0 < edge ? r : emptyReaders[0])
|
||||
};
|
||||
IndexSearcher out = LuceneTestCase.newSearcher(new MultiReader(readers));
|
||||
|
||||
// TODO: fix me,
|
||||
// wrapping causes insanity when we have an already-atomic reader?!
|
||||
// IndexSearcher out = LuceneTestCase.newSearcher(new MultiReader(readers));
|
||||
IndexSearcher out = LuceneTestCase.newSearcher(new MultiReader(readers), false);
|
||||
out.setSimilarity(s.getSimilarity());
|
||||
return out;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue