The ndsindex utility creates, lists, suspends, resumes, or deletes indexes. It has the following syntax:
ndsindex [command] [options] [index]
For additional information on eDirectory indexes see Indexes
in
the eDirectory Technical Overview.
NOTE:On a NetWare server, the utility is called nindex.
HINT:Output from the ldap utilities is sent to stdout. If the utility exits before you can view the output, redirect the output to a file, for example, ldapadd [options] > out.txt.
Replace [command] with one of the following index operations:
Replace [options] with one or more of the following options:
For all index operations except add, replace [index] with the name of one or more indexes separated by a space.
For add index operations, replace [index] with one or more index definitions separated by a space, in the following format:
indexname;atrributename;matchingrule
To create a presence matching index for the cn attribute, [index] is replaced with the following:
ndsindex add [options] common_name;cn;PRESENCE
To suspend this index, specify the following:
ndsindex suspend [options] common_name
To resume this index, specify the following:
ndsindex resume [options] common_name
To delete this index, specify the following:
ndsindex delete [options] common_name