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
Assembly: Lucene.Net.dll
Syntax
public class BufferedUpdates : object
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
|
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
|
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 |
|