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.