9. An article of manufacture, comprising a computer-readable storage medium including data that, when accessed by a computer, cause the computer to perform a method comprising: receiving a query for a lightweight directory access protocol (LDAP) repository; reorganizing search terms in the query based on a uniqueness value of corresponding LDAP indexes to generate a modified query, wherein the uniqueness value of each LDAP index is based on a ratio of targets to keys in the corresponding LDAP index; executing the modified query; generating a candidate list of entries based on the search terms; and detecting a threshold number of entries in the candidate list.
14. The article of manufacture of claim 9 , further comprising: counting a number of targets in an index; and dividing the number of targets by a number of keys in the index to generate a uniqueness value for the index.