Lucene.Net 1.4.3 Class Library

IndexWriter.AddDocument Method

Adds a document to this index. If the document contains more than {@link #maxFieldLength} terms for a given Field, the remainder are discarded.

Overload List

Adds a document to this index. If the document contains more than {@link #maxFieldLength} terms for a given Field, the remainder are discarded.

public virtual void AddDocument(Document);

Adds a document to this index, using the provided analyzer instead of the value of {@link #GetAnalyzer()}. If the document contains more than {@link #maxFieldLength} terms for a given Field, the remainder are discarded.

public virtual void AddDocument(Document,Analyzer);

See Also

IndexWriter Class | Lucene.Net.Index Namespace