Adds a document to this index. If the document contains more than {@link #SetMaxFieldLength(int)} terms for a given field, the remainder are discarded.
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 AddDocument(
	Document doc
)
Visual Basic
Public Overridable Sub AddDocument ( _
	doc As Document _
)
Visual C++
public:
virtual void AddDocument(
	Document^ doc
)

Parameters

doc
Type: Lucene.Net.Documents..::..Document

[Missing <param name="doc"/> documentation for "M:Lucene.Net.Index.IndexModifier.AddDocument(Lucene.Net.Documents.Document)"]

See Also