Show / Hide Table of Contents

    Class SegmentInfoReader

    Specifies an API for classes that can read SegmentInfo information.

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    SegmentInfoReader
    Lucene3xSegmentInfoReader
    Lucene40SegmentInfoReader
    Lucene46SegmentInfoReader
    Namespace: Lucene.Net.Codecs
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class SegmentInfoReader : object

    Constructors

    | Improve this Doc View Source

    SegmentInfoReader()

    Sole constructor. (For invocation by subclass constructors, typically implicit.)

    Declaration
    protected SegmentInfoReader()

    Methods

    | Improve this Doc View Source

    Read(Directory, String, IOContext)

    Read SegmentInfo data from a directory.

    Declaration
    public abstract SegmentInfo Read(Directory directory, string segmentName, IOContext context)
    Parameters
    Type Name Description
    Directory directory

    Directory to read from.

    System.String segmentName

    Name of the segment to read.

    IOContext context

    IO context.

    Returns
    Type Description
    SegmentInfo

    Infos instance to be populated with data.

    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)