George Holbert
2005-Oct-13 01:50 UTC
[Fedora-directory-users] VLV search filter granularity
If I set up a VLV index with a simple filter like this: vlvFilter: (objectClass=posixAccount) ...then will the VLV mechanism benefit searches that use a superset of this filter? e.g., if a ldapsearch is run with a filter like: (&(objectClass=posixAccount)(location=California)) ...will the vlv index help, even though the search also has a location specified in the filter? OR, must I create separate vlv indexes with every possible search filter combination? Thanks, -- George
David Boreham
2005-Oct-13 02:24 UTC
Re: [Fedora-directory-users] VLV search filter granularity
George Holbert wrote:> If I set up a VLV index with a simple filter like this: > > vlvFilter: (objectClass=posixAccount) > > > ...then will the VLV mechanism benefit searches that use a superset of > this filter? > e.g., if a ldapsearch is run with a filter like: > > (&(objectClass=posixAccount)(location=California)) > > ...will the vlv index help, even though the search also has a location > specified in the filter?Nope.> OR, must I create separate vlv indexes with every possible search > filter combination?Yes, and sort keys. I think there might be an optimization for forward and reverse sorting in there, not sure though : I''d need to read the code to be certain.