Show / Hide Table of Contents

    Class ReaderSlice

    Subreader slice from a parent composite reader.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Inheritance
    System.Object
    ReaderSlice
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public sealed class ReaderSlice : object

    Constructors

    | Improve this Doc View Source

    ReaderSlice(Int32, Int32, Int32)

    Sole constructor.

    Declaration
    public ReaderSlice(int start, int length, int readerIndex)
    Parameters
    Type Name Description
    System.Int32 start
    System.Int32 length
    System.Int32 readerIndex

    Fields

    | Improve this Doc View Source

    EMPTY_ARRAY

    Zero-length ReaderSlice array.

    Declaration
    public static readonly ReaderSlice[] EMPTY_ARRAY
    Field Value
    Type Description
    ReaderSlice[]

    Properties

    | Improve this Doc View Source

    Length

    Number of documents in this slice.

    Declaration
    public int Length { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    ReaderIndex

    Sub-reader index for this slice.

    Declaration
    public int ReaderIndex { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Start

    Document ID this slice starts from.

    Declaration
    public int Start { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)