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

Re: index an attribute makes it unusable in a filter



On Wednesday, 6 June 2007, sudhakar wrote:
> If the attribute is indexed

No, if you have told slapd to index the attribute and use this index, but you 
have not indexed the existing entries, slapd believes what you told it (there 
is an index, it should not traverse the whole directory), and finds nothing 
in the index you told it to use. (If it were to subsequently traverse the 
whole directory, there would be no point in using an index).

You need to populate the index, by running slapdindex (any time you add 
indexes).

Regards,
Buchan

-- 
Buchan Milne
ISP Systems Specialist - Monitoring/Authentication Team Leader
B.Eng,RHCE(803004789010797),LPIC-2(LPI000074592)

Attachment: pgpVf4LTe5LRc.pgp
Description: PGP signature