company logo

IndexManager :: OpenKWCollections - Open keyword collections

Index services require three term collections. One for stopwords, one for keywords and one for lexical base, which are words standing for different word forms of a key word. The extent names or paths for keyword collections must be set before opening the keyword collections. Default settings are taken from the configuration file (options "keywords", stopwords and lexterms in the[IndexManager] section).

Before opening the keyword collections a valid language for indexing must have been set. This could be done by defining the DSC_Language option in the configuration or ini-file or by setting the option explicitly in the application program before calling the function. For creating the index in another language, one may SetLanguage() passing a valid language value (cLanguage.h).

Return value:  Success ( logical  )

Implementation details