Creating Indexes360 Netscape Directory Server Administrator’s Guide • August 2002You can use the keyword none in the nsIndexType attribute to specify that noindexes are to be maintained for the attribute. For example, suppose you want totemporarily disable the sn indexes you just created on the Example1 database,. Youchange the nsIndexType to none as follows:dn: cn=sn,cn=index,cn=Example1,cn=ldbm database,cn=plugins,cn=configobjectClass:topobjectClass:nsIndexcn:snnsSystemIndex:falsensIndexType:noneFor a complete list of collation orders and their OIDs, see Appendix D,“Internationalization.”For more information about the index configuration attributes, see the NetscapeDirectory Server Configuration, Command, and File Reference.For more information about the ldapmodify command-line utility, refer to theNetscape Directory Server Configuration, Command, and File Reference.Running the db2index.pl ScriptOnce you have created an indexing entry or added additional index types to anexisting indexing entry, run the db2index.pl script to generate the new set ofindexes to be maintained by the Directory Server. Once you run the script, the newset of indexes is active for any new data you add to your directory and any existingdata in your directory.To run the db2index.pl perl script:1. From the command line, change to the following directory:serverRoot/slapd-serverID/2. Run the db2index.pl perl script.For more information about using this perl script, refer to Netscape DirectoryServer Configuration, Command, and File Reference.NOTE You should always use the attribute’s primary name (not theattribute’s alias) when creating indexes. The primary name of theattribute is the first name listed for the attribute in the schema, forexample uid for the userid attribute. See Table 10-3 on page 380for a list of all primary and alias attribute names.