[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]
General Programming Concepts: Writing and Debugging Programs
Removing Indexes of your Documentation
You cannot just delete files to remove an index from a server. This will
leave the search service corrupted. Use the following steps to remove an index:
- Delete the index.
- Single-Byte Languages:
/usr/IMNSearch/cli/imnixdel index_name
- Double-Byte Languages:
/usr/IMNSearch/cli/imqixdel index_name
- Remove the index entry in the registration table.
- Single-Byte Languages:
/usr/IMNSearch/cli/imndomap /var/docsearch/indexes -d index_name
- Double-Byte Languages:
/usr/IMNSearch/cli/imqdomap /var/docsearch/indexes -d index_name
- Copy the changed index registration table over the backup copy of the
index registration table so that the backup copy is updated. Type:
cp /var/docsearch/indexes/imnmap.dat /usr/docsearch/indexes
- Then delete the empty index directories that held the index files:
rm -r /usr/docsearch/indexes/index_name
[ Next Article |
Previous Article |
Book Contents |
Library Home |
Legal |
Search ]