You are here: C++ API > Classes > dtsOptions2 Structure
Close
dtSearch Text Retrieval Engine Programmer's Reference
dtsOptions2 Structure

Sets dtSearch Engine indexing and searching option settings.

File: dtsearch.h

Syntax

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.

Copyright (c) 1995-2021 dtSearch Corp. All rights reserved.