![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Administrator'S Manual Download Page 364](http://html1.mh-extra.com/html/netscape/netscape-directory-server-6-1-administrator/netscape-directory-server-6-1-administrator_administrators-manual_1674675364.webp)
Creating Indexes
364
Netscape Directory Server Administrator’s Guide • August 2002
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
contains the browsing index identifier, which specifies the entry on which
you want to create the browsing index, in this example, the
"dc=example,dc=com"
entry. We recommend you use the
dn
of the entry for 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
vlvSearch
object class.
The
vlvbase
attribute value specifies the entry on which you want to create the
browsing index, in this example, the
"dc=example,dc=com"
entry (that is the
browsing index identifier).
The
vlvscope
attribute is
one
, indicating that the base for the search you want to
accelerate is
one
. A search base of
one
means that only the immediate children of
the entry specified in the
cn
attribute, and not the entry itself, will be searched.
The
vlvfilter
specifies the filter to be used for the search, in this example,
(|(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=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
.
Summary of Contents for NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Page 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Page 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Page 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Page 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Page 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Page 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Page 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Page 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Page 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...