DictionaryRepository

DictionaryRepository class

Represents a repository of all dictionaries in the Index.

public class DictionaryRepository

Properties

Name Description
AliasDictionary { get; } Gets a dictionary of aliases.
Alphabet { get; } Gets the dictionary of characters used by the internal tokenization mechanism to split text into words.
CharacterReplacements { get; } Gets a dictionary of character replacements.
DocumentPasswords { get; } Gets a dictionary of document passwords.
HomophoneDictionary { get; } Gets a dictionary of homophones.
SpellingCorrector { get; } Gets a spelling corrector.
StopWordDictionary { get; } Gets a dictionary of stop words.
SynonymDictionary { get; } Gets a dictionary of synonyms.
TokenizationDictionary { get; } Gets the dictionary of characters that defines whether a token is considered as a valid word or a separator when using external tokenization tools.
WordFormsProvider { get; set; } Gets or sets a word forms provider.

Remarks

The dictionaries Alphabet, TokenizationDictionary, CharacterReplacements and StopWordDictionary define how the text of documents is divided into terms. Therefore they can be changed only while the index contains no documents and its status is Ready. The other dictionaries can be changed at any time, also by several threads at once and while the index searches or indexes documents.

See Also