Previous Topic: Searches Are Faster Than Updates

Next Topic: DSA Handling of Multiple Concurrent Queries

Simple and Complex Searches

The following table lists the types of searches that are simple:

Simple Search Types

Example Filter

Exact match

cn=john smith

Initial substring

cn=john s*

Simple searches combined with ANDs or ORs

(&(cn=john smith)(cn=john s*))

(|(cn=jon*)(cn=john*))

Base-object searches, regardless of the filter

(!(cn=john smith))

The following table lists the types of searches that are complex:

Complex Search Types

Example Filter

Final substring

cn=*th

Present

(objectclass=*)

Sounds like

cn~=john smith

Not

(!(cn=john smith))

Complex searches combined with ANDs or ORs

(&(objectclass=*)(cn~=john smith))

Greater-than, less-than, greater-than or equals, less-than or equals

sn<=b

One-level and subtree searches, regardless of the filter