[email protected] wrote:
> Hi,
> 
> If I issue an ldapsearch for groups with a filter of 
> "(&(description=<description>)(|(member=<memberDN>)(memberUid=<memberName>)))"
>  and have the following indexes
> 
> olcDbIndex: member eq
> olcDbIndex: memberUid eq
> olcDbIndex: description eq
> 
> Will openldap be able to use these indexes for this search,

Yes

> or do I have to add a composite index?

No

> What might that look like for specifically optimizing this query?
> 
> Thanks for the consideration.
> 


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

Reply via email to