Tuesday, March 10, 2009

How to rebuild the Domain Index for the Domino server

our Lotus® Domino® server's Domain Index is
(1) not working properly
(2) corrupted
(3) otherwise needs to be recreated.
How is this done?

Answer
1. From the Admin client, select File -> Database -> Properties -> Design tab and check the following properties for the databases to include in the index (this should already be in place for databases previously included in Domain catalog):

- List in Database Catalog
- Include in multi-database indexing


2. At the Windows Domino server console type:

tell domidx q

3. In Windows Explorer, navigate to your Lotus\Domino\Data directory and delete ftdomain.di directory.
4. From the Admin client, delete the catalog.nsf from the Files view.
5. Restart the Domino Server.
6. At the Windows Domino server prompt, type:

load catalog

7. From the Admin client, open the new catalog.nsf that has been created. Verify that the database is listed in the Databases -> by Server view with the Multi-database Indexed property marked Yes.
8. In the Server document, change Server Tasks -> Domain Indexer -> Repeat Interval of: to reflect a short indexing interval (this will speed up the Index rebuild). Close and save the document.
9. At the Windows Domino server prompt, type:

show schedule


10. Verify that the Domain Indexer schedule has been updated.
11. From the Admin client, open the new catalog.nsf and monitor the Domain Indexer Status -> By Server view, to verify that the database is indexed.


"The Domain Index can take a considerable amount of time to create, and its creation is resource intensive. As a result, it should not be deleted casually. When you build the initial Domain Index, it is important to free up as many resources on the Domain Search server as possible. Memory and CPU are taxed heavily during this process. By eliminating extraneous, unnecessary server tasks, you can increase the available resources for building the index."

1 comment:

Lord Servant said...

Unfortunately our catalog.nsf was customized so deleting it wasn't an option. I've used these commands to rebuild the index:

tell domidx q - Stops indexer
load domidx -d - Deletes the index
tell domidx q - Stops indexer
load domidx -s - Starts the indexer.