respect to what should be done when an LDAP server (supporting the vlvIndexing mechanisms, while tentatively implied, are notspecified or discussed in the VLV protocol spec.
control) creates a vlv index for an attribute, especially with respect
to how it should handle a multi-valued attribute.
For example, the server we're using to query has a database containingThe key factor is that all VLV searches are also sorted (server-sidesorting control is required). The rules for how to treat sorted entries
some records which have more than one last name. If we create a vlv
index, only the first (or last?) attribute value is placed in the index.
This creates an apparent lack of data if you display a page of results
which doesn't contain the "missing" (non-indexed) attibute value, which
would not be missing if you did a similar "normal" substring query on
the sn attribute.
So, I would think that it would make sense to have multiple-valuedIt's certainly possible to take this view, but in our implementation
attributes vlv-indexed for each value, rather than just arbitrarily
throwing away one (or more) of the values when creating the index.
There was a time when I agreed with your assertion.
I'd be interested to hear from others with experience
in using and implementing server-side sorting, and perhaps
from anyone who remembers how X.500 came to define
things the way it does.