Package org.apache.lucene.index
Class ReaderSlice
java.lang.Object
org.apache.lucene.index.ReaderSlice
Subreader slice from a parent composite reader.
- NOTE: This API is for internal purposes only and might change in incompatible ways in the next release.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ReaderSlice[]
Zero-lengthReaderSlice
array.final int
Number of documents in this slice.final int
Sub-reader index for this slice.final int
Document ID this slice starts from. -
Constructor Summary
-
Method Summary
-
Field Details
-
EMPTY_ARRAY
Zero-lengthReaderSlice
array. -
start
public final int startDocument ID this slice starts from. -
length
public final int lengthNumber of documents in this slice. -
readerIndex
public final int readerIndexSub-reader index for this slice.
-
-
Constructor Details
-
ReaderSlice
public ReaderSlice(int start, int length, int readerIndex) Sole constructor.
-
-
Method Details