mirror of https://github.com/apache/lucene.git
Avoid SimpleText codec in TestIndexSortSortedNumericDocValuesRangeQuery (#675)
The recently introduced testCount verifies that the Weight#count optimization kicks in. When SimpleText codec is used, `DocValues#unwrapSingleton` returns null which disables the optimization and makes the test fail.
This commit is contained in:
parent
f6cebac333
commit
ea170c9fab
|
@ -48,6 +48,7 @@ import org.apache.lucene.tests.util.LuceneTestCase;
|
|||
import org.apache.lucene.tests.util.TestUtil;
|
||||
import org.apache.lucene.util.BytesRef;
|
||||
|
||||
@LuceneTestCase.SuppressCodecs(value = "SimpleText")
|
||||
public class TestIndexSortSortedNumericDocValuesRangeQuery extends LuceneTestCase {
|
||||
|
||||
public void testSameHitsAsPointRangeQuery() throws IOException {
|
||||
|
|
Loading…
Reference in New Issue