directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Carlo.Acco...@ibs-ag.com>
Subject Is it faster/better to include one objectclass or all in query?
Date Wed, 14 Mar 2012 14:51:51 GMT
Hi, when searching for a user having this objectclass hierarchy

top
 |_person
         |_organizationalPerson
                    |_inetOrgPerson

and uid = 'jsmith'

Which query would be less expensive or better/faster?  Thanks!

(&
   (objectclass=inetOrgPerson)
   (uid=jsmith)
)

OR

(&
                (&(objectclass=top)
                (objectclass=person)
(objectclass= organizationalPerson)
(objectclass=inetOrgPerson))
(uid=jsmith)
)



Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message