directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject Quesiton about best way to index attributes
Date Wed, 29 Feb 2012 18:14:04 GMT
Hi, We have  apacheds 2.0-M5 db setup with all  ~90k users under one OU. Yes, I know they should
be stored with some hierarchy but that's not an option for this
particular customer.  I want to optimize searching by lastname, (sn), firstname (givenName)
and displayName. I have created indexes under the partition and
we see ads-indexcachesize is set by default to 100. Assuming the value correlates to a value
for the attribute,  Can I set this to 50,000 for each of the attribs?.
I can dedicate ~1GB of heap space for the ApacheDS JVM.

Also, is there a way to rebuild the indexes in 2.0? I can't seem to find how that's done.

For example In the UI someone might enter "Smit" looking for Smith.

This gets converted into the following query with the OU as the baseDN.


Lastly, would we be better off performing three separate queries (for displayname,sn,givenName)
or will the logical OR search above break the moment it finds a match? Thanks.

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