Deletes the document(s) containing
CopyC#
term
.

NOTE: if this method hits an OutOfMemoryError you should immediately close the writer. See above for details.

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

Syntax

C#
public virtual void DeleteDocuments(
	Term term
)
Visual Basic
Public Overridable Sub DeleteDocuments ( _
	term As Term _
)
Visual C++
public:
virtual void DeleteDocuments(
	Term^ term
)

Parameters

term
Type: Lucene.Net.Index..::..Term
the term to identify the documents to be deleted

See Also