Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class BufferedUpdates

    Holds buffered deletes and updates, by docID, term or query for a single segment. this is used to hold buffered pending deletes and updates against the to-be-flushed segment. Once the deletes and updates are pushed (on flush in Lucene.Net.Index.DocumentsWriter), they are converted to a FrozenDeletes instance.

    NOTE: instances of this class are accessed either via a private instance on Lucene.Net.Index.DocumentsWriterPerThread, or via sync'd code by Lucene.Net.Index.DocumentsWriterDeleteQueue

    Inheritance
    System.Object
    BufferedUpdates
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: Lucene.Net.Index
    Assembly: Lucene.Net.dll
    Syntax
    public class BufferedUpdates

    Fields

    | Improve this Doc View Source

    MAX_INT32

    NOTE: This was MAX_INT in Lucene

    Declaration
    public static readonly int MAX_INT32
    Field Value
    Type Description
    System.Int32

    Methods

    | Improve this Doc View Source

    AddBinaryUpdate(DocValuesUpdate.BinaryDocValuesUpdate, Int32)

    Declaration
    public virtual void AddBinaryUpdate(DocValuesUpdate.BinaryDocValuesUpdate update, int docIDUpto)
    Parameters
    Type Name Description
    DocValuesUpdate.BinaryDocValuesUpdate update
    System.Int32 docIDUpto
    | Improve this Doc View Source

    AddDocID(Int32)

    Declaration
    public virtual void AddDocID(int docID)
    Parameters
    Type Name Description
    System.Int32 docID
    | Improve this Doc View Source

    AddNumericUpdate(DocValuesUpdate.NumericDocValuesUpdate, Int32)

    Declaration
    public virtual void AddNumericUpdate(DocValuesUpdate.NumericDocValuesUpdate update, int docIDUpto)
    Parameters
    Type Name Description
    DocValuesUpdate.NumericDocValuesUpdate update
    System.Int32 docIDUpto
    | Improve this Doc View Source

    AddQuery(Query, Int32)

    Declaration
    public virtual void AddQuery(Query query, int docIDUpto)
    Parameters
    Type Name Description
    Query query
    System.Int32 docIDUpto
    | Improve this Doc View Source

    AddTerm(Term, Int32)

    Declaration
    public virtual void AddTerm(Term term, int docIDUpto)
    Parameters
    Type Name Description
    Term term
    System.Int32 docIDUpto
    | Improve this Doc View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.Object.ToString()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2021 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.