Sets dtSearch Engine indexing and searching option settings.
Use dtsOptionsReader to read option settings into a dtsOptions2 structure, change the values in dtsOptions2 as needed, and call dtssSetOptions2 to apply the changes.
Option settings are not persisted anywhere so changes must be made each time a new program instance starts.
Option settings apply to the current thread and any threads created after the current thread. Therefore, each thread can have its own settings.