Netscape DIRECTORY SERVER 6.01 - ADMINISTRATOR Administrator's Manual page 355

Table of Contents

Advertisement

NOTE
You can only create browsing indexes in ldbm databases.
For example, you want to create a browsing index to accelerate an
the entry
"dc=example,dc=com"
base is
"dc=example,dc=com"
(|(objectclass=*)(objectclass=ldapsubentry))
sorting order for the returned attributes is
First, type the following to change to the directory containing the utility:
cd /usr/netscape/servers/shared/bin
Run the
ldapmodify
ldapmodify -a -h server -p 389 -D "cn=directory manager" -w password
The
utility binds to the server and prepares it to add an entry to the
ldapmodify
configuration file.
Next, you need to add two browsing index entries which define your browsing
index.
The first entry you add specifies the base, scope and filter of the browsing index:
dn: cn="dc=example,dc=com",cn=Example1,cn=ldbm
database,cn=plugins,cn=config
objectClass:top
objectClass:vlvSearch
cn:"dc=example,dc=com"
vlvbase:"dc=example,dc=com"
vlvscope:one
vlvfilter:(|(objectclass=*)(objectclass=ldapsubentry))
The
contains the browsing index identifier which specifies the entry on which
cn
you want to create the browsing index, in this example the
entry. We recommend you use the
identifier, which is, the approach adopted by the Directory Server Console, to
prevent identical browsing indexes from being created. The entry is a member of
the
object class. The
vlvSearch
which you want to create the browsing index, in this example the
"dc=example,dc=com"
attribute is
, indicating that the base for the search you want to accelerate is
one
A search base of
one
in the
attribute, and not the entry itself, will be searched. The
cn
specifies the filter to be used for the search, in this example
(|(objectclass=*)(objectclass=ldapsubentry))
held in the
, the search filter is
command-line utility as follows:
of the entry for your browsing index
dn
attribute value specifies the entry on
vlvbase
entry (that is the browsing index identifier). The
means that only the immediate children of the entry specified
database where the search
Example1
, the scope is
,
,
,
, and
cn
givenname
o
ou
"dc=example,dc=com"
.
Chapter 10
Creating Indexes
on
ldapsearch
and the
one
.
sn
vlvscope
.
one
vlvfilter
Managing Indexes
355

Advertisement

Table of Contents
loading

This manual is also suitable for:

Directory server 6.01

Table of Contents