Apache Lucene.Net 2.4.0 Class Library API

IndexModifier Constructor (String, Analyzer, Boolean)

Open an index with write access.

public IndexModifier(
   string dirName,
   Analyzer analyzer,
   bool create
);

Parameters

dirName
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