Lucene.Net 1.9.1 Class Library

IndexWriter.AddDocument Method (Document)

Adds a document to this index. If the document contains more than {@link #SetMaxFieldLength(int)} terms for a given field, the remainder are discarded.

public virtual void AddDocument(
   Document doc
);

See Also

IndexWriter Class | Lucene.Net.Index Namespace | IndexWriter.AddDocument Overload List