Creating Indexes
•
Ensuring that access control on VLV index information is set appropriately.
The following sections describe the steps involved in creating browsing indexes.
Adding a Browsing Index Entry
The type of browsing index entry you want to create depends on the type of
ldapsearch
following into account:
•
The scope of the search (base, one, sub).
For more information on the
specify the scope of searches, see the Red Hat Directory Server Configuration,
Command, and File Reference.
•
The base of the search (the entry you want to use as a starting point for the
search).
For more information on the
specify the base of searches, see the Red Hat Directory Server Configuration,
Command, and File Reference.
•
The attributes you want to sort.
•
The filter of the search.
For more information on specifying filters for searches, see Appendix B,
"Finding Directory Entries."
•
The ldbm database to which the entry that forms the base of the search
belongs. You can only create browsing indexes in ldbm databases.
For example, you want to create a browsing index to accelerate an
the entry
•
the search base is
•
the search filter is
•
the scope is
•
the sorting order for the returned attributes is
First, type the following to change to the directory containing the utility:
cd serverRoot/shared/bin
Run the
404
Red Hat Directory Server Administrator's Guide • May 2005
attribute sorting you want to accelerate. It is important to take the
ou=People,dc=example,dc=com
ou=People,dc=example,dc=com
(|(objectclass=*)(objectclass=ldapsubentry))
, and
one
command-line utility as follows:
ldapmodify
option, which allows you to
ldapsearch -s
option, which allows you to
ldapsearch -b
held in the
,
cn
givenname
ldapsearch
database where:
Example1
,
,
,
, and
o
ou
on
,
.
sn