Lucene.Net.Index.IndexWriter.ApplyDeletes C# (CSharp) Method

ApplyDeletes() private method

private ApplyDeletes ( ) : bool
return bool
		private bool ApplyDeletes()
		{
			lock (this)
			{
				System.Diagnostics.Debug.Assert(TestPoint("startApplyDeletes"));
                flushDeletesCount++;
				
				bool success = false;
				bool changed;
				try
				{
					changed = docWriter.ApplyDeletes(segmentInfos);
					success = true;
				}
				finally
				{
                    if (!success && infoStream != null)
                    {
                        Message("hit exception flushing deletes");
                    }
				}
				
				if (changed)
					Checkpoint();
				return changed;
			}
		}
		
IndexWriter