DotLucene 1.4 API Documentation |

# DocumentWriter Constructor

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