Show / Hide Table of Contents

    Class TermVectorsReader

    Codec API for reading term vectors:

    This is a Lucene.NET EXPERIMENTAL API, use at your own risk
    Inheritance
    System.Object
    TermVectorsReader
    CompressingTermVectorsReader
    Lucene40TermVectorsReader
    Namespace: Lucene.Net.Codecs
    Assembly: Lucene.Net.dll
    Syntax
    public abstract class TermVectorsReader : IDisposable

    Constructors

    | Improve this Doc View Source

    TermVectorsReader()

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

    Declaration
    protected TermVectorsReader()

    Methods

    | Improve this Doc View Source

    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.

    This is a Lucene.NET INTERNAL API, use at your own risk
    Declaration
    public abstract void CheckIntegrity()
    | Improve this Doc View Source

    Clone()

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

    Declaration
    public abstract object Clone()
    Returns
    Type Description
    System.Object
    | Improve this Doc View Source

    Dispose()

    Disposes all resources used by this object.

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

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

    Declaration
    protected abstract void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing
    | Improve this Doc View Source

    Get(Int32)

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

    Declaration
    public abstract Fields Get(int doc)
    Parameters
    Type Name Description
    System.Int32 doc
    Returns
    Type Description
    Fields
    | Improve this Doc View Source

    RamBytesUsed()

    Returns approximate RAM bytes used.

    Declaration
    public abstract long RamBytesUsed()
    Returns
    Type Description
    System.Int64
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 Licensed to the Apache Software Foundation (ASF)