About Indexes
NOTE
Index Types
Directory Server supports six index types, which means that the index list will
allow up to six different types of searches, such as an exact match, a "sounds-like"
search, or a search on a string within the entry. The types of indexes are outlines
here:
•
Presence index (pres) — The presence index contains a list of the entries that
contain a particular attribute. This index is useful if, for example, you want to
examine any entries that contain access control information. Generating an
aci.db3
search for
The presence index is not used for base object searches.
•
Equality index (eq) — The equality index allows you to search efficiently for
entries containing a specific attribute value. For example, an equality index on
the
more efficiently.
•
Approximate index (approx) — The approximate index allows efficient
approximate or "sounds-like" searches. For example, an entry may include
the attribute value
this value for searches against
Similarly, a search against
return entries including
388
Red Hat Directory Server Administrator's Guide • May 2005
While Directory Server can support the old database design, only
the new design is installed with the Directory Server. Upon startup,
the server will read the database version from the DBVERSION file,
which contains the text
and
Netscape-ldbm/7.1
that the old format is used, then the old code is selected for the
database. Because the DBVERSION file stores everything
per-backend, it is theoretically possible to have different database
formats for different individual backends. However, the old
database format is not recommended.
Migrate all databases to Directory Server 7.1 when the system is
upgraded. For releases earlier than version 6.2 or for large
databases, export the databases to LDIF, and install Directory Server
fresh. For more information, see chapter 6, "Migrating from
Previous Versions," in the Red Hat Directory Server Installation Guide.
file that includes a presence index lets you efficiently perform the
to generate the Access Control List for the server.
ACI=*
attribute allows a user to perform the search for
cn
cn=Robert E Lee
l=San Francisco
Netscape-ldbm/6.2
(new database format). If the file indicates
. An approximate search would return
cn~=Robert Lee
(note the misspelling) would
l~=San Fransisco
.
(old database version)
cn=Babs Jensen
,
, or
cn~=Robert
cn~=Lee
far
.
Need help?
Do you have a question about the DIRECTORY SERVER 7.1 - ADMINISTRATOR and is the answer not in the manual?
Questions and answers