diff --git a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java index 1dd70d42b92..23868701ed7 100644 --- a/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java +++ b/contrib/memory/src/java/org/apache/lucene/index/memory/MemoryIndex.java @@ -773,10 +773,10 @@ public class MemoryIndex { } public boolean skipTo(int target) { - if (DEBUG) System.err.println(".skipTo"); - return false; + if (DEBUG) System.err.println(".skipTo: " + target); + return next(); } - + public void close() { if (DEBUG) System.err.println(".close"); }