I am generating my SearchUnit index programatically. Before indexing, I would like to modify the default list of stop words to remove one word. I can't figure out how to do it with LibConfig.StopWords. Here is the code to initialize the configuration and index:
Code:
Dim LibConfig As New Configuration
LibConfig.EventHandlerAssemblyPath = IndexPluginFilePath
LibConfig.IndexDirectory = IndexFolderPath
LibConfig.Logging = True
Dim ConfigMgr As ConfigurationManager = New ConfigurationManager(IndexFolderPath)
ConfigMgr.SaveSettings(LibConfig)
Dim LibIndex As New Index.DocumentIndex(LibConfig)
Any help would be appreciated. Thanks!