![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 360](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675360.webp)
Creating Indexes
360
Netscape Directory Server Administrator’s Guide • August 2002
You can use the keyword
none
in the
nsIndexType
attribute to specify that no
indexes are to be maintained for the attribute. For example, suppose you want to
temporarily disable the sn indexes you just created on the
Example1
database,. You
change the
nsIndexType
to
none
as follows:
dn: cn=sn,cn=index,cn=Example1,cn=ldbm database,cn=plugins,cn=config
objectClass:top
objectClass:nsIndex
cn:sn
nsSystemIndex:false
nsIndexType:none
For a complete list of collation orders and their OIDs, see Appendix D,
“Internationalization.”
For more information about the index configuration attributes, see the Netscape
Directory Server Configuration, Command, and File Reference.
For more information about the
ldapmodify
command-line utility, refer to the
Netscape Directory Server Configuration, Command, and File Reference.
Running the db2index.pl Script
Once you have created an indexing entry or added additional index types to an
existing indexing entry, run the
db2index.pl
script to generate the new set of
indexes to be maintained by the Directory Server. Once you run the script, the new
set of indexes is active for any new data you add to your directory and any existing
data 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 Directory
Server Configuration, Command, and File Reference.
NOTE
You should always use the attribute’s primary name (not the
attribute’s alias) when creating indexes. The primary name of the
attribute is the first name listed for the attribute in the schema, for
example
uid
for the
userid
attribute. See Table 10-3 on page 380
for a list of all primary and alias attribute names.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...