Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class Lucene40TermVectorsReader

    Lucene 4.0 Term Vectors reader.

    It reads .tvd, .tvf, and .tvx files.
    Inheritance
    object
    TermVectorsReader
    Lucene40TermVectorsReader
    Implements
    IDisposable
    Inherited Members
    TermVectorsReader.Dispose()
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Lucene.Net.Codecs.Lucene40
    Assembly: Lucene.Net.dll
    Syntax
    public class Lucene40TermVectorsReader : TermVectorsReader, IDisposable

    Constructors

    Lucene40TermVectorsReader(Directory, SegmentInfo, FieldInfos, IOContext)

    Sole constructor.

    Declaration
    public Lucene40TermVectorsReader(Directory d, SegmentInfo si, FieldInfos fieldInfos, IOContext context)
    Parameters
    Type Name Description
    Directory d
    SegmentInfo si
    FieldInfos fieldInfos
    IOContext context
    See Also
    Lucene40TermVectorsFormat

    Methods

    CheckIntegrity()

    Checks consistency of this reader.

    Note that this may be costly in terms of I/O, e.g. may involve computing a checksum value against large data files.

    Note

    This API is for internal purposes only and might change in incompatible ways in the next release.

    Declaration
    public override void CheckIntegrity()
    Overrides
    TermVectorsReader.CheckIntegrity()
    See Also
    Lucene40TermVectorsFormat

    Clone()

    Create a clone that one caller at a time may use to read term vectors.

    Declaration
    public override object Clone()
    Returns
    Type Description
    object
    Overrides
    TermVectorsReader.Clone()
    See Also
    Lucene40TermVectorsFormat

    Dispose(bool)

    Implementations must override and should dispose all resources used by this instance.

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    bool disposing
    Overrides
    TermVectorsReader.Dispose(bool)
    See Also
    Lucene40TermVectorsFormat

    Get(int)

    Returns term vectors for this document, or null if term vectors were not indexed. If offsets are available they are in an IOffsetAttribute available from the DocsAndPositionsEnum.

    Declaration
    public override Fields Get(int docID)
    Parameters
    Type Name Description
    int docID
    Returns
    Type Description
    Fields
    Overrides
    TermVectorsReader.Get(int)
    See Also
    Lucene40TermVectorsFormat

    RamBytesUsed()

    Returns approximate RAM bytes used.

    Declaration
    public override long RamBytesUsed()
    Returns
    Type Description
    long
    Overrides
    TermVectorsReader.RamBytesUsed()
    See Also
    Lucene40TermVectorsFormat

    Implements

    IDisposable

    See Also

    Lucene40TermVectorsFormat
    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.