Description of the HomeDir and PrivateDir option settings.
The dtSearch option settings include two directories: the "Home" and the "Private" directories. The "Home" directory is the location of settings files and executable components such as file parsers. This directory can be a shared network directory and is usually where dten600.dll is located. The "Private" directory is the location where temporary files can be written and where per-user options settings are stored. The two directories can be the same as long as only one user at a time is using the directory.
The "Private" directory is the directory the dtSearch Engine uses to write temporary files and option settings. If no private directory is provided, the dtSearch Engine will use GetTempPath to get a directory for temporary files.
During indexing, temporary files are created in the index directory. During a search, temporary files are not created.
During extraction of documents from ZIP archives, a temporary file may be created to hold the uncompressed document (small files are extracted to a memory buffer). This file is automatically deleted when dtSearch is done with the document.
The dtSearch Engine automatically loads external file parsers, such as dtv_odbc.dll and dtv_ifilter.dll, from the viewers subdirectory of the Home directory. If no Home directory is supplied, the dtSearch Engine will attempt to determine the location of its home directory using Windows system calls. Often this will work, but it is better to supply a specific Home directory.
No inialization is required to use the dtSearch Engine, but it is recommended that the option settings be initialized at least once before the first indexing or searching job is executed. If this is not done, the dtSearch Engine will create and use a set of default settings.
|
Copyright (c) 1995-2008 dtSearch Corp. All rights reserved.
|