Method SetCommitData
SetCommitData(IDictionary<String, String>)
Sets the commit user data map. That method is considered a transaction by IndexWriter and will be committed (Commit() even if no other changes were made to the writer instance. Note that you must call this method before PrepareCommit(), or otherwise it won't be included in the follow-on Commit().
NOTE: the dictionary is cloned internally, therefore altering the dictionary's contents after calling this method has no effect.
Declaration
public void SetCommitData(IDictionary<string, string> commitUserData)
Parameters
Type | Name | Description |
---|---|---|
IDictionary<System.String, System.String> | commitUserData |