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

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

On Feb 8, 2007, at 2:51 AM, hyc@symas.com wrote:

> 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.

I note that dn2id is only useful for entryDN matching.  For
matching of arbitrary DN attributes, additional indexing would
be needed.  It may be possible/reasonable to integrate indexing
for this with component matching indexing... which, of course,
needs work.

-- Kurt

> -- 
>    -- 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/