Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class AppendingTermsReader

    Reads append-only terms from AppendingTermsWriter.

    Note

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

    Inheritance
    object
    Fields
    FieldsProducer
    BlockTreeTermsReader<object>
    AppendingTermsReader
    Implements
    IEnumerable<string>
    IEnumerable
    IDisposable
    Inherited Members
    BlockTreeTermsReader<object>.m_subclassState
    BlockTreeTermsReader<object>.Dispose(bool)
    BlockTreeTermsReader<object>.GetEnumerator()
    BlockTreeTermsReader<object>.GetTerms(string)
    BlockTreeTermsReader<object>.Count
    BlockTreeTermsReader<object>.RamBytesUsed()
    BlockTreeTermsReader<object>.CheckIntegrity()
    FieldsProducer.Dispose()
    Fields.UniqueTermCount
    Fields.EMPTY_ARRAY
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Codecs.Appending
    Assembly: Lucene.Net.Codecs.dll
    Syntax
    [Obsolete("Only for reading old Appending segments")]
    public class AppendingTermsReader : BlockTreeTermsReader<object>, IEnumerable<string>, IEnumerable, IDisposable

    Constructors

    AppendingTermsReader(Directory, FieldInfos, SegmentInfo, PostingsReaderBase, IOContext, string, int)

    Reads append-only terms from AppendingTermsWriter.

    Note

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

    Declaration
    public AppendingTermsReader(Directory dir, FieldInfos fieldInfos, SegmentInfo info, PostingsReaderBase postingsReader, IOContext ioContext, string segmentSuffix, int indexDivisor)
    Parameters
    Type Name Description
    Directory dir
    FieldInfos fieldInfos
    SegmentInfo info
    PostingsReaderBase postingsReader
    IOContext ioContext
    string segmentSuffix
    int indexDivisor

    Methods

    ReadHeader(IndexInput)

    Reads terms file header.

    Declaration
    protected override int ReadHeader(IndexInput input)
    Parameters
    Type Name Description
    IndexInput input
    Returns
    Type Description
    int
    Overrides
    Lucene.Net.Codecs.BlockTreeTermsReader<object>.ReadHeader(Lucene.Net.Store.IndexInput)

    ReadIndexHeader(IndexInput)

    Reads index file header.

    Declaration
    protected override int ReadIndexHeader(IndexInput input)
    Parameters
    Type Name Description
    IndexInput input
    Returns
    Type Description
    int
    Overrides
    Lucene.Net.Codecs.BlockTreeTermsReader<object>.ReadIndexHeader(Lucene.Net.Store.IndexInput)

    SeekDir(IndexInput, long)

    Seek input to the directory offset.

    Declaration
    protected override void SeekDir(IndexInput input, long dirOffset)
    Parameters
    Type Name Description
    IndexInput input
    long dirOffset
    Overrides
    BlockTreeTermsReader<object>.SeekDir(IndexInput, long)

    Implements

    IEnumerable<T>
    IEnumerable
    IDisposable
    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.