Creating Indexes
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
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
attribute value specifies the order in which you want your attributes to be sorted,
in this example
NOTE
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
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
From the command line, change to the following directory:
1.
/usr/netscape/servers/slapd-serverID/
where
Run the
2.
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
358
Netscape Directory Server Administrator's Guide • May 2002
contains the browsing index sort identifier. We recommend you use a sort
,
cn
givenname
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.
script:
vlvindex
is the name of your Directory Server.
serverID
script.
vlvindex
cn=sort_cn_givenname_o_ou_sn
vlvIndex
,
,
and then
.
o
ou
sn
object class. The
vlvsort
script to
vlvindex
script follow.
vlvindex
in
Need help?
Do you have a question about the NETSCAPE DIRECTORY SERVER 6.02 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers