![Netscape NETSCAPE DIRECTORY SERVER 6.02 Administrator'S Manual Download Page 358](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-02/netscape-directory-server-6-02_administrators-manual_1674673358.webp)
Creating Indexes
358
Netscape Directory Server Administrator’s Guide • May 2002
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=Example1,
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
contains the browsing index sort identifier. We recommend you use a sort
identifier which clearly identifies the search sorting order for the browsing index
you create, such as the explicit sort identifier
cn=sort_cn_givenname_o_ou_sn
in
this example. The entry is a member of the
vlvIndex
object class. The
vlvsort
attribute value specifies the order in which you want your attributes to be sorted,
in this example
cn
,
givenname
,
o
,
ou
and then
sn
.
Running the vlvindex Script
Once you have created the two browsing indexing entries or added additional
attribute types to an existing indexing browsing entries, run the
vlvindex
script to
generate the new set of browsing indexes to be maintained by the Directory Server.
Once you run the script, the new set of browsing indexes is active for any new data
you add to your directory and any existing data in your directory.
To run the
vlvindex
script:
1.
From the command line, change to the following directory:
/usr/netscape/servers/slapd-
serverID
/
where
serverID
is the name of your Directory Server.
2.
Run the
vlvindex
script.
For more information about using this script, refer to Netscape Directory Server
Configuration, Command, and File Reference.
Two examples of generating browsing indexes using the
vlvindex
script follow.
NOTE
This first browsing index entry must be added to the
cn=
instanceName
,cn=ldbm database,cn=plugins,cn=config
directory tree node and the second entry must be a child of the first
entry.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.02
Page 1: ...Administrator s Guide Netscape Directory Server Version6 02 May 2002 ...
Page 16: ...16 Netscape Directory Server Administrator s Guide May 2002 ...
Page 20: ...20 Netscape Directory Server Administrator s Guide May 2002 ...
Page 74: ...Maintaining Referential Integrity 74 Netscape Directory Server Administrator s Guide May 2002 ...
Page 138: ...Using Referrals 138 Netscape Directory Server Administrator s Guide May 2002 ...
Page 432: ...Miscellaneous Tuning Tips 432 Netscape Directory Server Administrator s Guide May 2002 ...
Page 434: ...434 Netscape Directory Server Administrator s Guide May 2002 ...
Page 468: ...PTA Plug In Syntax Examples 468 Netscape Directory Server Administrator s Guide May 2002 ...
Page 488: ...488 Netscape Directory Server Administrator s Guide May 2002 ...
Page 528: ...Examples of LDAP URLs 528 Netscape Directory Server Administrator s Guide May 2002 ...