367368369370371372373
} @Override public TermPositions termPositions() throws IOException { ensureOpen(); return new MultiTermPositions(this, subReaders, starts); }
474475476477478479480481
ensureOpen(); if (subReaders.length == 1) { // Optimize single segment case: return subReaders[0].termPositions(); } else { return new MultiTermPositions(this, subReaders, starts,-1); } }
350351352353354355356
return new MultiTermDocs(this, subReaders, starts); } public TermPositions termPositions() throws IOException { ensureOpen(); return new MultiTermPositions(this, subReaders, starts); }
353354355356357358359
401402403404405406407408
ensureOpen(); if (subReaders.length == 1) { // Optimize single segment case: return subReaders[0].termPositions(); } else { return new MultiTermPositions(this, subReaders, starts); } }
397398399400401402403404
364365366367368369370