Github user tokee commented on a diff in the pull request:
https://github.com/apache/lucene-solr/pull/525#discussion_r244332659
--- Diff: lucene/core/src/test/org/apache/lucene/index/TestDocValues.java
---
@@ -123,8 +124,72 @@ public void testNumericField() throws Exception {
iw.close();
dir.close();
}
-
- /**
+
+ // The LUCENE-8585 jump-tables enables O(1) skipping of IndexedDISI
blocks, DENSE block lookup
+ // and numeric multi blocks. This test focuses on testing these jumps.
+ @Slow
+ public void testNumericFieldJumpTables() throws Exception {
+ Directory dir = newDirectory();
+ IndexWriter iw = new IndexWriter(dir, newIndexWriterConfig(null));
+ final int maxDoc = atLeast(3*65536); // Must be above 3*65536 to
trigger IndexedDISI block skips
--- End diff --
Moved to `TestLucene80DocValuesFormat` and adjusted as you suggested.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]