To install dtSearch on a network, you can either set up dtSearch to run from a shared directory or you can install dtSearch on each user's computer. If dtSearch is installed separately on each user's computer, it will generally load faster because local disk access is faster. In either case, users can use shared index libraries or Recognize Index in the Index Manager to access shared network indexes.
On Windows networks with Microsoft CMS, you can also automatically deploy dtSearch. See "Automatic deployment of dtSearch on a network" in this manual for more information.
Running dtSearch from a shared network folder
To set dtSearch up to run from a shared network folder,
1. Install dtSearch in a folder on the server that each user will have read-only access to.
2. Create shortcuts for network users to run dtsrun.exe.
3. Use command-line options in the shortcuts to specify a private directory or shared index library for users.
Note: Some users may require updated versions of certain Windows components to use dtSearch. If dtsrun.exe does not start correctly, please see this article on the dtSearch web site for links to download the updated components:
The /dir command-line option specifies a location for the user's personal dtSearch folder, if one is not already set up for that user. If the /dir command-line switch is not provided, dtSearch will see that is being run from a read-only directory and prompt the user for a folder to use for personal dtSearch settings. Using /dir prevents this prompt from occurring. Once a personal dtSearch folder is created, the location is stored in the registry and the user will not be prompted again for a dtSearch folder.
/lib <index library>
The /lib command-line switch specifies a shared index library providing a list of indexes.
/cfg <options package>
The /cfg command-line switch specifies a dtSearch options package file, providing a list of indexes as well as other settings (such as default stemming rules).
Suppose dtSearch is installed in a network drive that all users see as P:\dtSearch. Assuming a standard installation, the dtSearch program files will be in P:\dtSearch\bin, and the network administrator's settings will be in P:\dtSearch\UserData. The network administrator has created some shared indexes, which will be listed in the index library P:\dtSearch\UserData\ixlib.ilb. The following shortcut will start dtSearch from any network workstation, with access to the indexes:
P:\dtSearch\bin\dtsrun.exe /dir c:\dtsearch6 /lib P:\dtSearch\UserData\ixlib.ilb
Now suppose that instead the network administrator installed dtSearch in P:\Program Files\dtSearch. The shortcut should be modified to use quotation marks around all filenames, because of the space in "Program Files":
"P:\Program Files\dtSearch\bin\dtsrun.exe" /dir c:\dtsearch6 /lib "P:\Program Files\dtSearch\UserData\ixlib.ilb"
Simple Index Sharing
dtSearch has a simple index sharing feature that lets you share indexes on a network without the need for any command-line switches. Instead, users just make a shortcut to dtsrun.exe in the shared dtSearch BIN folder and dtSearch will detect the shared indexes automatically. To use the simple index sharing feature:
1. Install dtSearch in a directory on the server that each user will have read-only access to.
2. Run dtSearch on the server and accept the default location for the UserData folder on the server. For example, if you install dtSearch to C:\Program Files\dtSearch, the UserData folder will go in C:\Program Files\dtSearch\UserData. This folder should also be read-only for network users.
3. Create indexes using the default index library, which will be named IXLIB.ILB and which will be stored in the UserData folder.
When a network user runs dtsrun.exe from the shared network folder, it will find the default index library and the user will automatically be able to search the indexes listed there.