Deletes the document numbered
CopyC#
docNum
.
since this reader was opened
has this index open (
CopyC#
write.lock
could not be obtained)

Namespace: Lucene.Net.Index
Assembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1

Syntax

C#
public virtual void DeleteDocument(
	int docNum
)
Visual Basic
Public Overridable Sub DeleteDocument ( _
	docNum As Integer _
)
Visual C++
public:
virtual void DeleteDocument(
	int docNum
)

Parameters

docNum
Type: System..::..Int32

[Missing <param name="docNum"/> documentation for "M:Lucene.Net.Index.IndexModifier.DeleteDocument(System.Int32)"]

See Also