Lucene.Net 1.9.1 Class Library

IndexModifier Constructor (Directory, Analyzer, Boolean)

Open an index with write access.

public IndexModifier(
   Directory directory,
   Analyzer analyzer,
   bool create
);

Parameters

directory
the index directory
analyzer
the analyzer to use for adding new documents
create
true
to create the index or overwrite the existing one;
false
to append to the existing index

See Also

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