Lucene.Net.Index.DocumentsWriterDeleteQueue.AddNumericUpdate C# (CSharp) Method

AddNumericUpdate() private method

private AddNumericUpdate ( NumericDocValuesUpdate update ) : void
update NumericDocValuesUpdate
return void
        internal void AddNumericUpdate(NumericDocValuesUpdate update)
        {
            Add(new NumericUpdateNode(update));
            TryApplyGlobalSlice();
        }

Usage Example

Beispiel #1
0
 internal bool UpdateNumericDocValue(Term term, string field, long?value)
 {
     lock (this)
     {
         DocumentsWriterDeleteQueue deleteQueue = this.deleteQueue;
         deleteQueue.AddNumericUpdate(new NumericDocValuesUpdate(term, field, value));
         flushControl.DoOnDelete();
         return(ApplyAllDeletes(deleteQueue));
     }
 }
All Usage Examples Of Lucene.Net.Index.DocumentsWriterDeleteQueue::AddNumericUpdate