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 SourceMAX_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 SourceAddBinaryUpdate(DocValuesUpdate.BinaryDocValuesUpdate, Int32)
Declaration
public virtual void AddBinaryUpdate(DocValuesUpdate.BinaryDocValuesUpdate update, int docIDUpto)
Parameters
Type | Name | Description |
---|---|---|
DocValuesUpdate.BinaryDocValuesUpdate | update | |
System.Int32 | docIDUpto |
AddDocID(Int32)
Declaration
public virtual void AddDocID(int docID)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | docID |
AddNumericUpdate(DocValuesUpdate.NumericDocValuesUpdate, Int32)
Declaration
public virtual void AddNumericUpdate(DocValuesUpdate.NumericDocValuesUpdate update, int docIDUpto)
Parameters
Type | Name | Description |
---|---|---|
DocValuesUpdate.NumericDocValuesUpdate | update | |
System.Int32 | docIDUpto |
AddQuery(Query, Int32)
Declaration
public virtual void AddQuery(Query query, int docIDUpto)
Parameters
Type | Name | Description |
---|---|---|
Query | query | |
System.Int32 | docIDUpto |
AddTerm(Term, Int32)
Declaration
public virtual void AddTerm(Term term, int docIDUpto)
Parameters
Type | Name | Description |
---|---|---|
Term | term | |
System.Int32 | docIDUpto |
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
System.Object.ToString()