![Netscape NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR Скачать руководство пользователя страница 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
.
Содержание NETSCAPE DIRECTORY SERVER 6.1 - ADMINISTRATOR
Страница 1: ...Administrator s Guide Netscape Directory Server Version6 1 August 2002...
Страница 20: ...20 Netscape Directory Server Administrator s Guide August 2002...
Страница 24: ...24 Netscape Directory Server Administrator s Guide August 2002...
Страница 44: ...Starting the Server in Referral Mode 44 Netscape Directory Server Administrator s Guide August 2002...
Страница 78: ...Maintaining Referential Integrity 78 Netscape Directory Server Administrator s Guide August 2002...
Страница 142: ...Using Referrals 142 Netscape Directory Server Administrator s Guide August 2002...
Страница 162: ...Enabling and Disabling Read Only Mode 162 Netscape Directory Server Administrator s Guide August 2002...
Страница 278: ...Setting Resource Limits Based on the Bind DN 278 Netscape Directory Server Administrator s Guide August 2002...
Страница 336: ...Troubleshooting Replication Related Problems 336 Netscape Directory Server Administrator s Guide August 2002...
Страница 396: ...Configuring LDAP Clients to Use SSL 396 Netscape Directory Server Administrator s Guide August 2002...
Страница 418: ...Monitoring Database Link Activity 418 Netscape Directory Server Administrator s Guide August 2002...
Страница 440: ...Miscellaneous Tuning Tips 440 Netscape Directory Server Administrator s Guide August 2002...
Страница 442: ...442 Netscape Directory Server Administrator s Guide August 2002...
Страница 478: ...PTA Plug In Syntax Examples 478 Netscape Directory Server Administrator s Guide August 2002...
Страница 498: ...498 Netscape Directory Server Administrator s Guide August 2002...
Страница 512: ...Storing Information in Multiple Languages 512 Netscape Directory Server Administrator s Guide August 2002...
Страница 532: ...Searching an Internationalized Directory 532 Netscape Directory Server Administrator s Guide August 2002...
Страница 538: ...Examples of LDAP URLs 538 Netscape Directory Server Administrator s Guide August 2002...