Creating Indexes
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
cn
you want to create the browsing index, in this example, the
"dc=example,dc=com"
your browsing index 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
The
vlvbase
browsing index, in this example, the
browsing index identifier).
The
vlvscope
accelerate is
the entry specified in the
The
vlvfilter
(|(objectclass=*)(objectclass=ldapsubentry))
The second entry you add specifies the sorting order you want for the returned
attributes:
dn:cn=sort_cn_givenname_o_ou_sn,cn="dc=example,dc=com",cn=Example
1,
cn=ldbm database,cn=plugins,cn=config
objectClass:top
objectClass:vlvIndex
cn:cn=sort_cn_givenname_o_ou_sn
vlvsort:cn givenname o ou sn
The
cn
identifier which clearly identifies the search sorting order for the browsing index
you create, such as the explicit sort identifier
this example. The entry is a member of the
380
Netscape Directory Server Administrator's Guide • December 2003
contains the browsing index identifier, which specifies the entry on which
entry. We recommend you use the
vlvSearch
attribute value specifies the entry on which you want to create the
attribute is
one
. A search base of
one
cn
specifies the filter to be used for the search, in this example,
contains the browsing index sort identifier. We recommend you use a sort
object class.
"dc=example,dc=com"
, indicating that the base for the search you want to
means that only the immediate children of
one
attribute, and not the entry itself, will be searched.
cn=sort_cn_givenname_o_ou_sn
vlvIndex
of the entry for
dn
entry (that is the
.
object class.
in
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.2 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers