Class 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.
Inherited Members
Namespace: Lucene.Net.Index
Assembly: Lucene.Net.dll
Syntax
public sealed class ReaderSlice
Constructors
ReaderSlice(int, int, int)
Sole constructor.
Declaration
public ReaderSlice(int start, int length, int readerIndex)
Parameters
Type | Name | Description |
---|---|---|
int | start | |
int | length | |
int | readerIndex |
Fields
EMPTY_ARRAY
Zero-length ReaderSlice array.
Declaration
public static readonly ReaderSlice[] EMPTY_ARRAY
Field Value
Type | Description |
---|---|
ReaderSlice[] |
Properties
Length
Number of documents in this slice.
Declaration
public int Length { get; }
Property Value
Type | Description |
---|---|
int |
ReaderIndex
Sub-reader index for this slice.
Declaration
public int ReaderIndex { get; }
Property Value
Type | Description |
---|---|
int |
Start
Document ID this slice starts from.
Declaration
public int Start { get; }
Property Value
Type | Description |
---|---|
int |
Methods
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
string | A string that represents the current object. |