Commits all changes to the index, specifying a
commitUserData Map (String -> String). This just
calls {@link #PrepareCommit(Map)} (if you didn't
already call it) and then {@link #finishCommit}.
NOTE: if this method hits an OutOfMemoryError
you should immediately close the writer. See above for details.
Namespace: Lucene.Net.IndexAssembly: Lucene.Net (in Lucene.Net.dll) Version: 2.9.4.1
Syntax
C# |
---|
public void Commit( IDictionary<string, string> commitUserData ) |
Visual Basic |
---|
Public Sub Commit ( _ commitUserData As IDictionary(Of String, String) _ ) |
Visual C++ |
---|
public: void Commit( IDictionary<String^, String^>^ commitUserData ) |
Parameters
- commitUserData
- Type: System.Collections.Generic..::..IDictionary<(Of <(<'String, String>)>)>
[Missing <param name="commitUserData"/> documentation for "M:Lucene.Net.Index.IndexWriter.Commit(System.Collections.Generic.IDictionary{System.String,System.String})"]