ENCINA(8) — Maintenance
NAME
sfsadmin rebuild index - rebuilds the specified secondary index
SYNOPSIS
sfsadmin rebuild index -server servername filename index
ARGUMENTS
-server servername Specifies the name of the file server. The name must be registered with the DCE Directory Service. If the -server option is not specified, the default is the server defined by the environment variable ENCINA_SFS_SERVER.
filename Specifies the name of the file containing the index to be rebuilt.
index Specifies the name of the secondary index to be rebuilt.
DESCRIPTION
The sfsadmin rebuild index command activates the specified secondary index. The index is updated to reflect changes to records made since the index was last deactivated. After an index is rebuilt, records are accessible through the rebuilt index. This command reverses the effect of the sfsadmin deactivate index command.
EXAMPLE
The following command rebuilds the index zipCodeIndex:
% sfsadmin rebuild index Accounts zipCodeIndex
PRIVILEGE REQUIRED
Encina SFS administer (A) and exclusive open (E) permissions on the file
RELATED INFORMATION
sfsadmin add index
sfsadmin deactivate index
sfsadmin delete index
sfsadmin expand index
sfsadmin query index
sfsadmin rename index
— March 1997