Represents a character replacement dictionary that is used during the indexing process. Character replacement can be used, for example, to remove accents from accented characters or to make a case-insensitive index.
Removes the specified collection of Unicode code point replacements from this instance of the CharacterReplacementDictionary.
Remarks
The dictionary defines how the text of documents is divided into terms. Therefore the dictionary of an index can be changed only while the index contains no documents and its status is Ready; otherwise a method that changes the dictionary throws InvalidOperationException. A call that does not change the content of the dictionary is always allowed. To use another content with documents that are indexed already, create a new index and index the documents again.
The replacements of an index are applied to the words of its searches as well, see UseCharacterReplacements.
A change of the dictionary of an index is saved in the index at once. If it cannot be saved, the method throws the exception that describes the failure, and the dictionary stays unchanged.