Running The Db2Index.pl Script - Netscape DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Creating Indexes
You can use the keyword
indexes are to be maintained for the attribute. For example, suppose you want to
temporarily disable the sn indexes you just created on the
change the
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
Netscape Directory Server Configuration, Command, and File Reference.
NOTE

Running the db2index.pl Script

Once you have created an indexing entry or added additional index types to an
existing indexing entry, run the
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
From the command line, change to the following directory:
1.
serverRoot/slapd-serverID/
Run the
2.
For more information about using this perl script, refer to Netscape Directory
Server Configuration, Command, and File Reference.
360
Netscape Directory Server Administrator's Guide • August 2002
in the
none
to
nsIndexType
none
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
for the
uid
for a list of all primary and alias attribute names.
perl script:
db2index.pl
perl script.
db2index.pl
attribute to specify that no
nsIndexType
as follows:
command-line utility, refer to the
ldapmodify
attribute. See Table 10-3 on page 380
userid
script to generate the new set of
db2index.pl
database,. You
Example1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.1

Table of Contents