Lucene.Net 1.9.1 Class Library

DocumentWriter Constructor (Directory, Analyzer, Similarity, Int32)

This ctor used by test code only.

public DocumentWriter(
   Directory directory,
   Analyzer analyzer,
   Similarity similarity,
   int maxFieldLength
);

Parameters

directory
The directory to write the document information to
analyzer
The analyzer to use for the document
similarity
The Similarity function
maxFieldLength
The maximum number of tokens a field may have

See Also

DocumentWriter Class | Lucene.Net.Index Namespace | DocumentWriter Constructor Overload List