Occasionally you may need to make changes to your index definition and rebuild the index, or perform other index-related tasks. This table lists all the maintenance tasks you can do in Horizon Index Services. It also explains how to start the Search Server.
Task |
When should I do this task? |
How do I do this task? |
||||||||||||||||||||||||||||||
Whenever you need to build the entire index from scratch. For example, you start the Indexer in mass mode when you build the index for the first time, or to rebuild the index after making changes to the index definition. The existing index is deleted and a new index is created. This means that keyword searches in Information Portal will be unavailable or incomplete until the build is complete. If you want to let users search while the index is being built, you can start the Search Server after the Indexer has started processing the first batch of records. |
Windows
UNIX or Linux
cd Horizon Index Services installation directory/sun/
./startindexserver
cd Horizon Index Services installation directory/sun/
./startmassindexer |
|||||||||||||||||||||||||||||||
As needed after the index is built. The Indexer switches to dynamic mode after building the index in mass mode, so you would need to start the Indexer in dynamic mode only if you had to stop the Indexer for some reason, or if the Indexer crashed. In dynamic mode, the Indexer updates the index as your library adds, updates, and deletes bib, item, and copy records. The Indexer checks for changes periodically and updates the index accordingly. The wait time between indexing cycles is controlled by the DYNAMIC INDEX SLEEP TIME setting in the Horizon Index Services configuration file. (For instructions on updating the configuration file, see Updating Horizon Index Services Settings .) |
Windows
UNIX or Linux
cd Horizon Index Services installation directory/sun/
./startindexserver
cd Horizon Index Services installation directory/sun/
./startdynamicindexer |
|||||||||||||||||||||||||||||||
Whenever you need to stop the Indexer. For example, you must stop the Indexer before you can rebuild the index in mass mode. You might also stop and restart the Indexer if you are getting errors or if recently cataloged items are not showing up in search results. |
Windows
The Indexer and Index Server command line windows close. UNIX or Linux
cd Horizon Index Services installation directory/sun/
./stopindexer The Indexer and Index Server console windows close. |
|||||||||||||||||||||||||||||||
If the Indexer is interrupted before it completes a mass build of the index. As the Indexer builds the index in mass mode, it saves its work periodically. If the Indexer is interrupted for any reason, you can resume the build from the previous save. Only the indexing performed since the previous save is lost. |
Windows
UNIX or Linux
cd Horizon Index Services installation directory/sun/
./startindexserver
cd Horizon Index Services installation directory/sun/
./resumemassindexer |
|||||||||||||||||||||||||||||||
When you want to test the indexing without having to build the entire index. This option deletes the index (if it already exists) and indexes the first 10,000 records in your database. |
Windows
UNIX or Linux
cd Horizon Index Services installation directory/sun/
./startindexserver
cd Horizon Index Services installation directory/sun/
./startsampleindexer |
|||||||||||||||||||||||||||||||
After starting the Indexer (in either dynamic or mass mode). You can run the Search Server while the Indexer is running in mass build mode to let users search a partial index. The index will be searchable after the Indexer completes the first 50,000 records. You must leave the Search Server running so keyword searches in Information Portal are processed. |
Windows
UNIX or Linux
cd Horizon Index Services installation directory/sun/
./stopindexer |
|||||||||||||||||||||||||||||||
Whenever you want to stop and restart the Search Server. You must stop the Search Server whenever you want to start the Indexer in mass build mode. |
Windows
The Search Server command line window closes. UNIX or Linux
cd Horizon Index Services installation directory/sun/
./stopsearchserver The Search Server console window closes. |
© 1998-2017 Sirsi Corporation