Adding An Index Entry - Netscape DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator's Manual

Table of Contents

Advertisement

Creating Indexes
Creating indexes from the command line involves two steps:
Using the
an existing index entry.
Running the
maintained by the server.
NOTE
The following sections describe the steps involved in creating indexes.

Adding an Index Entry

Use
ldapmodify
create a new index that will become one of the default indexes, add the new index
attributes to the
cn=plugins,cn=config
To create a new index for a particular database, add it to the
cn=index,cn=instanceName,cn=ldbm database,cn=plugins,cn=config
where
NOTE
For information on the LDIF update statements required to add entries, see "LDIF
Update Statements," on page 62.
For example, assume you want to create presence, equality, and substring indexes
for the
358
Netscape Directory Server Administrator's Guide • August 2002
command-line utility to add a new index entry or edit
ldapmodify
db2index.pl
You cannot create new system indexes because system indexes are
hard coded in Directory Server.
to add the new index attributes to your directory. If you want to
cn=default indexes,cn=config,cn=ldbm database,
entry.
corresponds to the name of the database.
cn=instanceName
Avoid creating entries under
entry in the simple, flat
cn=config
not stored in the same highly scalable database as regular entries. As
a result, if many entries, and particularly entries that are likely to be
updated frequently, are stored under
probably suffer.
Although we recommend you do not store simple user entries under
for performance reasons, it can be useful to store special
cn=config
user entries such as the Directory Manager entry or Replication
Manager (supplier bind DN) entry under
you to centralize configuration information.
(surname) attribute in the
sn
perl script to generate the new set of indexes to be
cn=config
dse.ldif
cn=config
database.
Example1
entry,
in the
file. The
dse.ldif
configuration file is
, performance will
, as this allows
cn=config

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Directory server 6.1

Table of Contents