Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SimpleTextSegmentInfoReader

    Reads plaintext segments files.

    FOR RECREATIONAL USE ONLY

    Note

    This API is experimental and might change in incompatible ways in the next release.

    Inheritance
    object
    SegmentInfoReader
    SimpleTextSegmentInfoReader
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Codecs.SimpleText
    Assembly: Lucene.Net.Codecs.dll
    Syntax
    public class SimpleTextSegmentInfoReader : SegmentInfoReader

    Methods

    Read(Directory, string, IOContext)

    Read Lucene.Net.Index.SegmentInfo data from a directory.

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

    Directory to read from.

    string segmentName

    Name of the segment to read.

    IOContext context

    IO context.

    Returns
    Type Description
    SegmentInfo

    Infos instance to be populated with data.

    Overrides
    SegmentInfoReader.Read(Directory, string, IOContext)
    Exceptions
    Type Condition
    IOException

    If an I/O error occurs.

    Back to top Copyright © 2024 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.