dtSearch .NET Standard API 2021.02
Sets indexing and searching option settings.
For more information about how these options affect indexing and searching, see Options in dtSearchApiRef.chm.
When an Options object is first created, it is populated with the settings currently in effect. After you change one or more settings, call Save() to apply the changes. The new settings will apply to the currently-executing thread and to any newly-created threads. It will not affect other threads that are already running.
If the contents of a configuration file such as TextFieldsFile changes, but the filename is not changed, set UpdateFiles=true to indicate that dtSearch should discard any internally-cached copies of configuration files and re-read them from disk.
Options cannot be changed within a callback function such as DataSource.GetNextDoc or IIndexStatusHandler.OnProgressUpdate. This is because dtSearch assumes that the options in effect for a thread at the start of a job will remain in effect until that job completes.