Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Create or load index
  • Add documents to index
  • Remove all words from spelling corrector dictionary using "index.Dictionaries.SpellingCorrector.Clear()"
  • Import spelling dictionary from the file using "index.Dictionaries.SpellingCorrector.ImportImportDictionary(Utilities.spellingDictionaryFilePath)". Existing words are staying
  • Add word array to the dictionary using "index.Dictionaries.SpellingCorrector.AddRange(array of words)". Words are case insensitive
  • Export spelling dictionary to file using "index.Dictionaries.SpellingCorrector.ExportExportDictionary(Utilities.exportedSpellingDictionaryFilePath)"
  • Initialize an object of SearchParameters() and name it parameters
  • Enable spelling corrector using "parameters.SpellingCorrector.Enabled = True"
  • Set up maximum mistake count using "parameters.SpellingCorrector.MaxMistakeCount = 1". Note that default value for maximum mistake count is 2
  • Search for some misspelled word using "index.Search(misspelled search query, parameters)"

...