Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class SimpleTextDocValuesReader

    Inheritance
    object
    DocValuesProducer
    SimpleTextDocValuesReader
    SimpleTextNormsFormat.SimpleTextNormsProducer
    Implements
    IDisposable
    Inherited Members
    DocValuesProducer.Dispose()
    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 SimpleTextDocValuesReader : DocValuesProducer, IDisposable

    Methods

    CheckIntegrity()

    Checks consistency of this producer.

    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
    Lucene.Net.Codecs.DocValuesProducer.CheckIntegrity()

    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
    DocValuesProducer.Dispose(bool)

    GetBinary(FieldInfo)

    Returns Lucene.Net.Index.BinaryDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread.

    Declaration
    public override BinaryDocValues GetBinary(FieldInfo fieldInfo)
    Parameters
    Type Name Description
    FieldInfo fieldInfo
    Returns
    Type Description
    BinaryDocValues
    Overrides
    Lucene.Net.Codecs.DocValuesProducer.GetBinary(Lucene.Net.Index.FieldInfo)

    GetDocsWithField(FieldInfo)

    Returns a Lucene.Net.Util.IBits at the size of reader.MaxDoc, with turned on bits for each docid that does have a value for this field. The returned instance need not be thread-safe: it will only be used by a single thread.

    Declaration
    public override IBits GetDocsWithField(FieldInfo field)
    Parameters
    Type Name Description
    FieldInfo field
    Returns
    Type Description
    IBits
    Overrides
    Lucene.Net.Codecs.DocValuesProducer.GetDocsWithField(Lucene.Net.Index.FieldInfo)

    GetNumeric(FieldInfo)

    Returns Lucene.Net.Index.NumericDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread.

    Declaration
    public override NumericDocValues GetNumeric(FieldInfo fieldInfo)
    Parameters
    Type Name Description
    FieldInfo fieldInfo
    Returns
    Type Description
    NumericDocValues
    Overrides
    Lucene.Net.Codecs.DocValuesProducer.GetNumeric(Lucene.Net.Index.FieldInfo)

    GetSorted(FieldInfo)

    Returns Lucene.Net.Index.SortedDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread.

    Declaration
    public override SortedDocValues GetSorted(FieldInfo fieldInfo)
    Parameters
    Type Name Description
    FieldInfo fieldInfo
    Returns
    Type Description
    SortedDocValues
    Overrides
    Lucene.Net.Codecs.DocValuesProducer.GetSorted(Lucene.Net.Index.FieldInfo)

    GetSortedSet(FieldInfo)

    Returns Lucene.Net.Index.SortedSetDocValues for this field. The returned instance need not be thread-safe: it will only be used by a single thread.

    Declaration
    public override SortedSetDocValues GetSortedSet(FieldInfo fieldInfo)
    Parameters
    Type Name Description
    FieldInfo fieldInfo
    Returns
    Type Description
    SortedSetDocValues
    Overrides
    Lucene.Net.Codecs.DocValuesProducer.GetSortedSet(Lucene.Net.Index.FieldInfo)

    RamBytesUsed()

    Returns approximate RAM bytes used.

    Declaration
    public override long RamBytesUsed()
    Returns
    Type Description
    long
    Overrides
    Lucene.Net.Codecs.DocValuesProducer.RamBytesUsed()

    Implements

    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.