Apache Lucene.Net 2.4.0 Class Library API

IndexModifier Constructor (FileInfo, Analyzer, Boolean)

Open an index with write access.

public IndexModifier(
   FileInfo file,
   Analyzer analyzer,
   bool create
);

Parameters

file
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