Initialize an IndexWriter.
has this index open (
CopyC# could not
be obtained)
Namespace: Lucene.Net.Indexwrite.lockAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
| C# |
|---|
protected internal virtual void Init( Directory directory, Analyzer analyzer, bool create ) |
| Visual Basic |
|---|
Protected Friend Overridable Sub Init ( _ directory As Directory, _ analyzer As Analyzer, _ create As Boolean _ ) |
| Visual C++ |
|---|
protected public: virtual void Init( Directory^ directory, Analyzer^ analyzer, bool create ) |
Parameters
- directory
- Type: Lucene.Net.Store..::..Directory
[Missing <param name="directory"/> documentation for "M:Lucene.Net.Index.IndexModifier.Init(Lucene.Net.Store.Directory,Lucene.Net.Analysis.Analyzer,System.Boolean)"]
- analyzer
- Type: Lucene.Net.Analysis..::..Analyzer
[Missing <param name="analyzer"/> documentation for "M:Lucene.Net.Index.IndexModifier.Init(Lucene.Net.Store.Directory,Lucene.Net.Analysis.Analyzer,System.Boolean)"]
- create
- Type: System..::..Boolean
[Missing <param name="create"/> documentation for "M:Lucene.Net.Index.IndexModifier.Init(Lucene.Net.Store.Directory,Lucene.Net.Analysis.Analyzer,System.Boolean)"]