This is invalid until {@link #next()} is called forthe first time.
492493494495496497498499500501502
termPos.skipTo(doc); int pos = 0; int i = termPos.freq(); while (termPos.doc() == doc && i > 0) { System.out.println("docno: " + doc + " pos: " + termPos.nextPosition()); i--; } // ////////