[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#4834) DN matching rules should be indexed

h.b.furuseth@usit.uio.no wrote:
> Suggestion:  Generalize a bit and support the slapd.conf statement
>   index attr :matchingRule
> Can be used with the extended filter (attr:matchingRule:=foo),
> or with e.g. (attr=foo) when matchingRule is the EQUALITY rule.
That's a good idea but would require more work to define indexer functions 
for each matching rule before we could do anything further. My reason for 
posting this ITS is that we already have the index available for the DN 
relativeMatch rules, so we should be taking advantage of them.

   -- Howard Chu
   Chief Architect, Symas Corp.  http://www.symas.com
   Director, Highland Sun        http://highlandsun.com/hyc
   Chief Architect, OpenLDAP     http://www.openldap.org/project/