Horizon Index Services comes with a configuration file containing several settings that affect its operation. Default settings are provided, but you should review them to make sure they are right for your library. At a minimum, you need to change the settings shown in bold text in the table that begins on this page.
To update Horizon Index Services settings
1 | On the machine where you installed Horizon Index Services, open the issettings.conf file in a text editor (such as Notepad in Windows, or vi editor in UNIX or Linux). |
For Windows, the file location is:
Horizon Index Services installation directory\hznindexservices\conf\.
For UNIX or Linux, the file location is:
Horizon Index Services installation directory/hznindexservices/conf/.
2 | Use this table to change the settings in the file as needed. |
Important: Leave only one space between the setting name and the setting. Settings are case sensitive.
For this setting |
Do this |
||||||
HORIZON DB IP |
Enter the IP address (number or name) of your Horizon database server. |
||||||
HORIZON DB PORT |
Enter the port on which your Horizon database server receives requests. |
||||||
HORIZON DB NAME |
|||||||
HORIZON DB USER |
Enter a database user that belongs to the “staffgroup” security group. Horizon Index Services logs into the Horizon database under this user name. For security reasons, SirsiDynix recommends that you do not use your system administrator user. Also, note that the “pacgroup” security group does not have sufficient rights to build the index. |
||||||
Enter the password for the database user you specified in the HORIZON DB USER setting. |
|||||||
INDEX NAME |
Enter the name of the index definition you created earlier. This must match the name you entered in the Index Name field in the word_index view in Horizon. (The suggested name was “idx.”) |
||||||
Enter the location where you want Horizon Index Services to store your index files. For Windows, the default location is: Horizon Index Services installation directory\indexes\. For UNIX or Linux, the default location is: Horizon Index Services installation directory/indexes/. Note: SirsiDynix strongly recommends that you use the default path. However, if the path does not already exist, you need to create it before you build the index. |
|||||||
TEMP PATH |
Enter the location where you want the Indexer to put temporary files it generates while creating the index. For Windows, the default location is: Horizon Index Services installation directory\temp\. For UNIX or Linux, the default location is: Horizon Index Services installation directory/temp/. Note: SirsiDynix strongly recommends that you use the default path. However, if the path does not already exist, you need to create it before you build the index. |
||||||
DYNAMIC INDEX SLEEP TIME |
Enter the number of seconds you want the Indexer to wait between indexing cycles. (For example, enter “120” to wait two minutes between cycles.) After your keyword index is built, the Horizon Indexer runs periodically to update the index as your library adds, updates, and deletes bib, item, and copy records. This setting lets you specify how often the Indexer checks for and processes changes. Enter an amount of time based on how quickly you want changes to be reflected in searching. The system resources required by the Indexer to check for updates is quite low, so entering a low number should not significantly impact system performance. The default setting is 120. Once the Indexer starts, it runs until it has processed all changes before it “sleeps” again. This means that if you import a large number of new records, the Indexer works without pause until all the records are indexed. |
||||||
HZN INDEX SERVER IP |
Leave this setting at “127.0.0.1” (localhost). |
||||||
HZN INDEX SERVER PORT |
Use the default (12501) or some other available port. This is the port on which the Index Server receives information from the Horizon Indexer. Port 12501 is recommended because it is probably not in use. However, if the machine where you installed Horizon Index Services already uses this port for another process, enter a different, unused port. You can use the “netstat” command in Windows, UNIX, or Linux to display a list of ports currently in use. (For more information about netstat, see your Windows, UNIX, or Linux documentation.) |
||||||
HZN SEARCH SERVER IP |
Leave this setting at “127.0.0.1” (localhost). |
||||||
Enter the port that the Search Server uses to receive search requests from Information Portal. This must match the port you entered earlier in the Search Serv Port field in the word_index view. (12502 was the recommended port.) |
|||||||
HZN INDEXER IP |
Leave this setting at “127.0.0.1” (localhost). |
||||||
HZN INDEXER PORT |
Use the default (12503) or some other available port. The Horizon Indexer runs on this port. |
||||||
HZN INDEX SERVER DEBUG |
Leave this setting at “false.” You can enter “true” to log detailed information about Index Server processes to a file. However, do so only when you need to track down indexing problems. Logging these processes slows down indexing and takes up disk space. (For more information, see Debugging.) |
||||||
HZN SEARCH SERVER DEBUG |
Leave this setting at “false.” You can enter “true” to log detailed information about Search Server processes to a file. However, do so only when you need to track down searching problems. Logging these processes slows down searching and takes up disk space. (For more information, see Debugging.) |
||||||
HZN INDEXER DEBUG |
Leave this setting at “false.” Note: You may need to add this final line to the file: HZN_INDEXER_DEBUG false UNIX and Linux installations need to check case sensitivity in the isssettings.conf file. If you want to log detailed information about Indexer processes to a file, you can enter “true” instead of “false”. However, do so only when you need to track down indexing problems. Logging these processes slows down indexing and takes up disk space. (For more information, see Debugging.) |
||||||
JDBC DRIVER |
You specified this setting as you installed or upgraded Horizon Index Services. This setting has two values—one value for Sybase and one for MS SQL:
com.microsoft.jdbc.sqlserver.SQLServerDriver
com.sybase.jdbc2.jdbc.SybDriver Depending on the database you are using, Index Services comments out—using a pound sign ( # )—the value of the other database and disregards that setting. |
3 | Save your changes and close the file. |
© 1998-2017 Sirsi Corporation