Apache Lucene.Net 2.4.0 Class Library API

IndexModifier.AddDocument Method

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

Overload List

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);

Adds a document to this index, using the provided analyzer instead of the one specific in the constructor. If the document contains more than {@link #SetMaxFieldLength(int)} terms for a given field, the remainder are discarded.

public virtual void AddDocument(Document,Analyzer);

See Also

IndexModifier Class | Lucene.Net.Index Namespace |