Red Hat Directory Server 8.0 Administrator's Guide

See Directory Server Configuration, Command, and File Reference for further information
about these attributes.
1.4. Approximate Searches
In addition, the directory uses a variation of the metaphone phonetic algorithm to perform
searches on an approximate index. Each value is treated as a sequence of words, and a
phonetic code is generated for each word.
NOTE
The metaphone phonetic algorithm in Directory Server supports only US-ASCII
letters. Therefore, use approximate indexing only with English values.
Values entered on an approximate search are similarly translated into a sequence of phonetic
codes. An entry is considered to match a query if both of the following are true:
All of the query string codes match the codes generated in the entry string.
All of the query string codes are in the same order as the entry string codes.
Name in the Directory
(Phonetic Code)
Query String (Phonetic
code)
Match Comments
Alice B Sarette (ALS B SRT) Alice Sarette (ALS SRT) Matches. Codes are specified
in the correct order.
Alice Sarrette (ALS SRT) Matches. Codes are specified
in the correct order, despite
the misspelling of Sarette.
Surette (SRT) Matches. The generated code
exists in the original name,
despite the misspelling of
Sarette.
Bertha Sarette (BR0 SRT) No match. The code BR0
does not exist in the original
name.
Sarette, Alice (SRT ALS) No match. The codes are not
specified in the correct order.
1.5. Balancing the Benefits of Indexing
Approximate Searches
369